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

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 3 15:15:21 PDT 2021


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/utils/Aliasing.cpp:76
+                                                const VarDecl *Var) {
+  const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(Func);
+  if (!MD)
----------------
`const auto*` could be used because type is spelled in same statement.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101787/new/

https://reviews.llvm.org/D101787



More information about the cfe-commits mailing list