Searched refs:DeclarationMatcher (Results 1 - 6 of 6) sorted by relevance

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp23 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
30 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
37 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
50 DeclarationMatcher NamedX = namedDecl(hasName("X"));
63 DeclarationMatcher NamedX = namedDecl(matchesName("::X"));
74 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no"));
78 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c"));
84 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$"));
92 TEST(DeclarationMatcher, MatchClass) {
93 DeclarationMatcher ClassMatche
[all...]
/external/clang/unittests/AST/
H A DStmtPrinterTest.cpp70 const DeclarationMatcher &NodeMatch,
H A DDeclPrinterTest.cpp71 const DeclarationMatcher &NodeMatch,
112 const DeclarationMatcher &NodeMatch,
135 const DeclarationMatcher &NodeMatch,
147 const DeclarationMatcher &NodeMatch,
/external/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h125 void addMatcher(const DeclarationMatcher &NodeMatch,
H A DASTMatchers.h111 typedef internal::Matcher<Decl> DeclarationMatcher; typedef in namespace:clang::ast_matchers
125 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g.,
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp790 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch,

Completed in 621 milliseconds