[PATCH] D25600: [ASTMatcher] Add isStaticDataMember matcher for varDecl.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 14 06:10:34 PDT 2016
aaron.ballman added a reviewer: aaron.ballman.
aaron.ballman added inline comments.
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:3005
+/// \endcode
+AST_MATCHER(VarDecl, isStaticDataMember) {
+ return Node.isStaticDataMember();
----------------
How does this differ from the existing matcher `hasStaticStorageDuration()` over a `fieldDecl()`?
https://reviews.llvm.org/D25600
More information about the cfe-commits
mailing list