Home
last modified time | relevance | path

Searched refs:addMatcher (Results 1 – 11 of 11) sorted by relevance

/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h149 void addMatcher(const DeclarationMatcher &NodeMatch,
151 void addMatcher(const TypeMatcher &NodeMatch,
153 void addMatcher(const StatementMatcher &NodeMatch,
155 void addMatcher(const NestedNameSpecifierMatcher &NodeMatch,
157 void addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch,
159 void addMatcher(const TypeLocMatcher &NodeMatch,
280 Finder.addMatcher(Matcher, &Callback); in match()
/external/littlemock/src/com/google/testing/littlemock/
DLittleMock.java277 public static <T> T anyObject() { return LittleMock.<T>addMatcher(new MatchAnything(), null); }
283 public static int anyInt() { return addMatcher(new MatchAnything(), 0); }
286 public static float anyFloat() { return addMatcher(new MatchAnything(), 0f); }
289 public static double anyDouble() { return addMatcher(new MatchAnything(), 0.0); }
292 public static boolean anyBoolean() { return addMatcher(new MatchAnything(), false); }
295 public static short anyShort() { return addMatcher(new MatchAnything(), (short) 0); }
298 public static char anyChar() { return addMatcher(new MatchAnything(), '\u0000'); }
301 public static long anyLong() { return addMatcher(new MatchAnything(), 0L); }
304 public static byte anyByte() { return addMatcher(new MatchAnything(), (byte) 0); }
308 return addMatcher(new ArgumentMatcher() {
[all …]
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp908 void MatchFinder::addMatcher(const DeclarationMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
914 void MatchFinder::addMatcher(const TypeMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
920 void MatchFinder::addMatcher(const StatementMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
926 void MatchFinder::addMatcher(const NestedNameSpecifierMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
932 void MatchFinder::addMatcher(const NestedNameSpecifierLocMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
938 void MatchFinder::addMatcher(const TypeLocMatcher &NodeMatch, in addMatcher() function in clang::ast_matchers::MatchFinder
947 addMatcher(NodeMatch.convertTo<Decl>(), Action); in addDynamicMatcher()
950 addMatcher(NodeMatch.convertTo<QualType>(), Action); in addDynamicMatcher()
953 addMatcher(NodeMatch.convertTo<Stmt>(), Action); in addDynamicMatcher()
956 addMatcher(NodeMatch.convertTo<NestedNameSpecifier>(), Action); in addDynamicMatcher()
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h70 Finder.addMatcher(AMatcher, &VerifyFound);
170 Finder.addMatcher(AMatcher, &VerifyFound); in matchesConditionallyWithCuda()
224 Finder.addMatcher(AMatcher, &VerifyVerifiedResult); in matchAndVerifyResultConditionally()
DASTMatchersTest.cpp4780 Finder.addMatcher(decl(), &Callback); in TEST()
4802 Finder.addMatcher(decl(), &VerifyCallback); in TEST()
4828 Finder.addMatcher(decl(), &VerifyCallback); in TEST()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp27 Finder.addMatcher(AMatcher, &Callback); in expectRewritten()
/external/clang/unittests/AST/
DNamedDeclPrinterTest.cpp70 Finder.addMatcher(NodeMatch, &Printer); in PrintedNamedDeclMatches()
DStmtPrinterTest.cpp75 Finder.addMatcher(NodeMatch, &Printer); in PrintedStmtMatches()
DMatchVerifier.h91 Finder.addMatcher(AMatcher.bind(""), this); in match()
DDeclPrinterTest.cpp76 Finder.addMatcher(NodeMatch, &Printer); in PrintedDeclMatches()
/external/clang/docs/
DLibASTMatchersTutorial.rst299 Finder.addMatcher(LoopMatcher, &Printer);