Searched refs:hasDeclaration (Results 1 – 6 of 6) sorted by relevance
30 using clang::ast_matchers::hasDeclaration;103 hasDeclaration(methodDecl(ofClass(hasName("std::basic_string")))), in SetupMatchers()
814 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 …]
1783 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function1839 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)))
408 hasDeclaration(is_gtest_assertion_result_ctor)), in main()
185 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()
218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F()