[PATCH] D89194: [clang-tidy] Fix crash in readability-function-cognitive-complexity on weak refs
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 11 08:02:41 PDT 2020
JonasToth added inline comments.
================
Comment at: clang/include/clang/ASTMatchers/ASTMatchers.h:4658
+/// functionDecl(isWeak())
+/// matches the weak declaration foo, but not bar.
+AST_MATCHER(FunctionDecl, isWeak) { return Node.isWeak(); }
----------------
Short oversight. Please hightlight the code and matcher to make a differentation in the docs.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89194/new/
https://reviews.llvm.org/D89194
More information about the cfe-commits
mailing list