[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-10 Thread Artem Dergachev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG9b292e0edcd4: [clang-tidy] Aliasing: Add more support for captures. (authored by dergachev.a). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101787/new/ htt

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-06 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! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101787/new/ https://reviews.llvm.org/D101787 ___ cfe-commits mailing lis

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-05 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ updated this revision to Diff 343264. NoQ added a comment. Rebase to address the comment! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101787/new/ https://reviews.llvm.org/D101787 Files: clang-tools-extra/clang-tidy/utils/Aliasing.cpp clang-tools-extra/test/clang-tidy/checkers

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-05 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ added inline comments. Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone-redundant-branch-condition.cpp:1 // RUN: %check_clang_tidy %s bugprone-redundant-branch-condition %t aaron.ballman wrote: > You need to add `-fblocks` here to enable bl

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-05 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added inline comments. Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone-redundant-branch-condition.cpp:1 // RUN: %check_clang_tidy %s bugprone-redundant-branch-condition %t You need to add `-fblocks` here to enable block support t

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-03 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ updated this revision to Diff 342570. NoQ added a comment. Fxd! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101787/new/ https://reviews.llvm.org/D101787 Files: clang-tools-extra/clang-tidy/utils/Aliasing.cpp clang-tools-extra/test/clang-tidy/checkers/bugprone-infinite-loop.cp

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-03 Thread Eugene Zelenko via Phabricator via cfe-commits
Eugene.Zelenko added inline comments. Comment at: clang-tools-extra/clang-tidy/utils/Aliasing.cpp:76 +const VarDecl *Var) { + const CXXMethodDecl *MD = dyn_cast(Func); + if (!MD) `const auto*` could be used becaus

[PATCH] D101787: [clang-tidy] Aliasing: Add more support for lambda captures.

2021-05-03 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ created this revision. NoQ added reviewers: alexfh, gribozavr2, aaron.ballman, vsavchenko. Herald added subscribers: martong, mgehre, xazax.hun. NoQ requested review of this revision. Herald added a project: clang-tools-extra. D96215 takes care of the situatio