clang-tools
10.0.0
|
Functions | |
AST_POLYMORPHIC_MATCHER (isInAbseilFile, AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc, NestedNameSpecifierLoc)) | |
Matches AST nodes that were found within Abseil files. More... | |
AST_MATCHER (Expr, isMacroID) | |
clang::ast_matchers::AST_MATCHER | ( | Expr | , |
isMacroID | |||
) |
Definition at line 18 of file PreferIsaOrDynCastInConditionalsCheck.cpp.
clang::ast_matchers::AST_POLYMORPHIC_MATCHER | ( | isInAbseilFile | , |
AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc, NestedNameSpecifierLoc) | |||
) |
Matches AST nodes that were found within Abseil files.
Example matches Y but not X (matcher = cxxRecordDecl(isInAbseilFile())
absl/strings/internal-file.h:
Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc>, Matcher<NestedNameSpecifierLoc>
Definition at line 31 of file AbseilMatcher.h.