HomeSort by relevance Sort by last modified time
    Searched refs:DeclarationMatcher (Results 1 - 25 of 37) sorted by null

1 2

  /external/clang/unittests/ASTMatchers/
ASTMatchersNarrowingTest.cpp 51 TEST(DeclarationMatcher, MatchHas) {
52 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X"))));
56 DeclarationMatcher YHasClassX =
64 TEST(DeclarationMatcher, MatchHasRecursiveAllOf) {
65 DeclarationMatcher Recursive =
122 TEST(DeclarationMatcher, MatchHasRecursiveAnyOf) {
123 DeclarationMatcher Recursive =
153 TEST(DeclarationMatcher, MatchNot) {
154 DeclarationMatcher NotClassX =
166 DeclarationMatcher ClassXHasNotClassY
    [all...]
ASTMatchersInternalTest.cpp 25 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
39 DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom(""));
63 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b")));
85 DeclarationMatcher HasClassB =
ASTMatchersNodeTest.cpp 41 DeclarationMatcher NamedX = namedDecl(hasName("X"));
54 DeclarationMatcher NamedX = namedDecl(matchesName("::X"));
65 DeclarationMatcher StartsWithNo = namedDecl(matchesName("::no"));
69 DeclarationMatcher Abc = namedDecl(matchesName("a.*b.*c"));
75 DeclarationMatcher StartsWithK = namedDecl(matchesName(":k[^:]*$"));
83 TEST(DeclarationMatcher, MatchClass) {
84 DeclarationMatcher ClassMatcher(recordDecl());
91 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
98 TEST(DeclarationMatcher, translationUnitDecl) {
113 TEST(DeclarationMatcher, LinkageSpecification)
    [all...]
ASTMatchersTraversalTest.cpp 22 TEST(DeclarationMatcher, hasMethod) {
29 TEST(DeclarationMatcher, ClassDerivedFromDependentTemplateSpecialization) {
39 TEST(DeclarationMatcher, hasDeclContext) {
268 DeclarationMatcher ClassX = recordDecl(hasName("X"));
277 DeclarationMatcher ClassX = recordDecl(hasName("X"));
364 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
377 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
406 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
430 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param");
    [all...]
  /external/clang/unittests/AST/
DeclPrinterTest.cpp 71 const DeclarationMatcher &NodeMatch,
114 const DeclarationMatcher &NodeMatch,
137 const DeclarationMatcher &NodeMatch,
149 const DeclarationMatcher &NodeMatch,
161 PrintedDeclCXX1ZMatches(StringRef Code, const DeclarationMatcher &NodeMatch,
173 const DeclarationMatcher &NodeMatch,
    [all...]
NamedDeclPrinterTest.cpp 66 const DeclarationMatcher &NodeMatch,
  /external/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
ASTMatchers.h 123 typedef internal::Matcher<Decl> DeclarationMatcher;
137 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g.,
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
ASTMatchers.h 110 typedef internal::Matcher<Decl> DeclarationMatcher;
125 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g.,
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
ASTMatchers.h 110 typedef internal::Matcher<Decl> DeclarationMatcher;
125 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g.,
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/linux-x86/clang-4579689/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/linux-x86/clang-4630689/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/linux-x86/clang-4639204/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /prebuilts/clang/host/linux-x86/clang-4691093/include/clang/ASTMatchers/
ASTMatchFinder.h 149 void addMatcher(const DeclarationMatcher &NodeMatch,
  /external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp     [all...]

Completed in 131 milliseconds

1 2