Home
last modified time | relevance | path

Searched refs:hasDeclaration (Results 1 – 4 of 4) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp905 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST()
911 hasDeclaration(cxxRecordDecl(isDerivedFrom("A"))); in TEST()
917 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
984 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
1031 qualType(hasDeclaration(enumDecl(hasName("X"))))))))); in TEST()
1043 hasType(typedefType(hasDeclaration(decl())))))); in TEST()
1051 hasDeclaration(namedDecl(hasName("A")))))))); in TEST()
1055 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
1067 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
1107 callExpr(hasDeclaration(cxxMethodDecl(hasName("x")))); in TEST()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2127 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function
2282 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder);
2321 return qualType(hasDeclaration(InnerMatcher))
2374 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
2419 return references(qualType(hasDeclaration(InnerMatcher)))
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp205 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()