Searched refs:AMatcher (Results 1 – 5 of 5) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.h | 63 const std::string &Code, const T &AMatcher, bool ExpectMatch, 70 Finder.addMatcher(AMatcher, &VerifyFound); 72 if (!Finder.addDynamicMatcher(AMatcher, &VerifyDynamicFound)) 108 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches() argument 109 return matchesConditionally(Code, AMatcher, true, "-std=c++11"); in matches() 114 const T &AMatcher) { in notMatches() argument 115 return matchesConditionally(Code, AMatcher, false, "-std=c++11"); in notMatches() 120 const T &AMatcher) { in matchesObjC() argument 122 Code, AMatcher, true, in matchesObjC() 127 testing::AssertionResult matchesC(const std::string &Code, const T &AMatcher) { in matchesC() argument [all …]
|
D | ASTMatchersInternalTest.cpp | 56 AST_MATCHER_P(Decl, just, internal::Matcher<Decl>, AMatcher) { in AST_MATCHER_P() argument 59 return AMatcher.matches(Node, Finder, Builder); in AST_MATCHER_P() 77 internal::Matcher<Decl>, AMatcher) { in AST_POLYMORPHIC_MATCHER_P() argument 79 Node, AMatcher, Builder, in AST_POLYMORPHIC_MATCHER_P()
|
/external/clang/unittests/AST/ |
D | MatchVerifier.h | 46 const MatcherType &AMatcher) { in match() argument 48 return match(Code, AMatcher, Args, Lang_CXX); in match() 53 const MatcherType &AMatcher, in match() argument 56 return match(Code, AMatcher, Args, L); in match() 61 const MatcherType &AMatcher, 66 testing::AssertionResult match(const Decl *D, const MatcherType &AMatcher); 91 const std::string &Code, const MatcherType &AMatcher, in match() argument 94 Finder.addMatcher(AMatcher.bind(""), this); in match() 137 const Decl *D, const MatcherType &AMatcher) { in match() argument 139 Finder.addMatcher(AMatcher.bind(""), this); in match()
|
D | ASTImporterTest.cpp | 52 const MatcherType &AMatcher) { in testImport() argument 101 return Verifier.match(Imported, AMatcher); in testImport()
|
/external/clang/unittests/Tooling/ |
D | RefactoringCallbacksTest.cpp | 24 const T &AMatcher, in expectRewritten() argument 27 Finder.addMatcher(AMatcher, &Callback); in expectRewritten()
|