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

/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp25 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
39 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
65 DeclarationMatcher NamedX = namedDecl(hasName("X"));
78 DeclarationMatcher NamedX = namedDecl(matchesName("::X"));
89 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no"));
93 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c"));
99 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$"));
107 TEST(DeclarationMatcher, MatchClass) {
108 DeclarationMatcher ClassMatche
[all...]
/external/clang/unittests/AST/
H A DNamedDeclPrinterTest.cpp66 const DeclarationMatcher &NodeMatch,
H A DDeclPrinterTest.cpp71 const DeclarationMatcher &NodeMatch,
114 const DeclarationMatcher &NodeMatch,
137 const DeclarationMatcher &NodeMatch,
149 const DeclarationMatcher &NodeMatch,
162 const DeclarationMatcher &NodeMatch,
/external/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h125 void addMatcher(const DeclarationMatcher &NodeMatch,
H A DASTMatchers.h121 typedef internal::Matcher<Decl> DeclarationMatcher; typedef in namespace:clang::ast_matchers
135 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g.,
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp772 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch,

Completed in 2483 milliseconds