[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-08-03 Thread Nathan James via Phabricator via cfe-commits
njames93 added a comment. This appears to be causing a crash with friend declarations. The crash happens during matching, see https://github.com/llvm/llvm-project/issues/56902 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129353/new/ https://revie

[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-07-14 Thread Balázs Kéri via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG0e95921bc303: [clang-tidy] Improve check cert-dcl58-cpp. (authored by balazske). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129353/new/ https://reviews.l

[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-07-13 Thread Balázs Kéri via Phabricator via cfe-commits
balazske updated this revision to Diff 444165. balazske marked 3 inline comments as done. balazske added a comment. Added comments, removed unneeded AST matcher code. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129353/new/ https://reviews.llvm.or

[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-07-11 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM with some minor nits. Comment at: clang-tools-extra/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp:80-81 + auto BadNonTemplateSpecializationDecl = +

[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-07-11 Thread Balázs Kéri via Phabricator via cfe-commits
balazske updated this revision to Diff 443609. balazske marked 2 inline comments as done. balazske added a comment. address review comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129353/new/ https://reviews.llvm.org/D129353 Files: clang-t

[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-07-08 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: clang-tools-extra/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp:29 + continue; +ArrayRef List1 = Arg.getPackAsArray(); +if (matchesFirstInRange(InnerMatcher, List1.begin(), List1.end(), Finder, Might

[PATCH] D129353: [clang-tidy] Improve check cert-dcl58-cpp.

2022-07-08 Thread Balázs Kéri via Phabricator via cfe-commits
balazske created this revision. Herald added subscribers: carlosgalvezp, steakhal, martong, gamesh411, Szelethus, dkrupp, xazax.hun. Herald added a project: All. balazske requested review of this revision. Herald added a project: clang-tools-extra. Herald added a subscriber: cfe-commits. Detect t