Home
last modified time | relevance | path

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

/external/chromium_org/tools/clang/empty_string/
DEmptyStringConverter.cpp30 using clang::ast_matchers::hasDeclaration;
103 hasDeclaration(methodDecl(ofClass(hasName("std::basic_string")))), in SetupMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp814 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST()
819 TypeMatcher TypeDerivedFromA = hasDeclaration(recordDecl(isDerivedFrom("A"))); in TEST()
825 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
841 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST()
888 qualType(hasDeclaration(enumDecl(hasName("X"))))))))); in TEST()
900 hasType(typedefType(hasDeclaration(decl())))))); in TEST()
908 hasDeclaration(namedDecl(hasName("A")))))))); in TEST()
912 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
924 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST()
963 StatementMatcher MethodX = callExpr(hasDeclaration(methodDecl(hasName("x")))); in TEST()
[all …]
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1783 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function
1839 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder);
1877 return qualType(hasDeclaration(InnerMatcher))
1929 return pointsTo(qualType(hasDeclaration(InnerMatcher)))
1973 return references(qualType(hasDeclaration(InnerMatcher)))
/external/chromium_org/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp408 hasDeclaration(is_gtest_assertion_result_ctor)), in main()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp185 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F()