Searched refs:hasDeclaration (Results 1 – 11 of 11) sorted by relevance
/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 229 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), in TEST() 243 has(labelStmt(hasDeclaration(labelDecl(hasName("loop"))))), in TEST() 244 has(addrLabelExpr(hasDeclaration(labelDecl(hasName("loop"))))) in TEST() 265 hasDeclaration( in TEST()
|
/external/v8/tools/clang/value_cleanup/ |
D | ListValueRewriter.cpp | 364 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers() 383 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers() 402 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers() 421 hasDeclaration(cxxMethodDecl( in RegisterMatchers()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 212 hasDeclaration(internal_settings_class_decl)))))); in MatchAllOverriddenMethods() 603 hasDeclaration(namedDecl(hasName(name))))); in GetNameForDecl() 1604 anyOf(enumType(hasDeclaration(in_blink_namespace)), in main() 1605 injectedClassNameType(hasDeclaration(in_blink_namespace)), in main() 1606 recordType(hasDeclaration(in_blink_namespace)), in main() 1607 templateSpecializationType(hasDeclaration(in_blink_namespace)), in main() 1608 templateTypeParmType(hasDeclaration(in_blink_namespace))))); in main() 1647 id("expr", memberExpr(hasDeclaration( in main()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 148 TypeMatcher TypeA = hasDeclaration(recordDecl(hasName("A"))); in TEST() 154 hasDeclaration(cxxRecordDecl(isDerivedFrom("A"))); in TEST() 160 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST() 221 qualType(hasDeclaration(enumDecl(hasName("X"))))))))); in TEST() 233 hasType(typedefType(hasDeclaration(decl())))))); in TEST() 241 hasDeclaration(namedDecl(hasName("A")))))))); in TEST() 245 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST() 257 TypeMatcher ClassX = hasDeclaration(recordDecl(hasName("X"))); in TEST() 515 functionDecl(returns(hasDeclaration( in TEST() 928 StatementMatcher Constructor = cxxConstructExpr(hasDeclaration(cxxMethodDecl( in TEST() [all …]
|
D | ASTMatchersNodeTest.cpp | 196 callExpr(hasDeclaration(cxxMethodDecl(hasName("x")))); in TEST() 292 hasDeclaration( in TEST() 1333 recordType(hasDeclaration(recordDecl(hasName("S")))))); in TEST() 1335 recordType(hasDeclaration(recordDecl(hasName("S")))))); in TEST() 1392 specifiesType(hasDeclaration(recordDecl(hasName("A"))))); in TEST()
|
D | ASTMatchersNarrowingTest.cpp | 555 TypeMatcher TypeAHasClassB = hasDeclaration( in TEST() 706 sizeOfExpr(hasArgumentOfType(hasDeclaration(recordDecl(hasName("A"))))))); in TEST() 708 hasArgumentOfType(hasDeclaration(recordDecl(hasName("string"))))))); in TEST() 1312 TypeMatcher(hasDeclaration(anything())), in TEST() 1375 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST() 1378 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST()
|
/external/v8/tools/clang/empty_string/ |
D | EmptyStringConverter.cpp | 86 hasDeclaration(cxxMethodDecl(ofClass(hasName("std::basic_string")))), in SetupMatchers()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2420 hasDeclaration(const internal::Matcher<Decl> &InnerMatcher) { in hasDeclaration() function 2575 return callExpr(hasDeclaration(InnerMatcher)).matches(Node, Finder, Builder); 2617 return qualType(hasDeclaration(InnerMatcher)) 2670 return pointsTo(qualType(hasDeclaration(InnerMatcher))) 2715 return references(qualType(hasDeclaration(InnerMatcher))) 3220 if (expr(anyOf(cxxConstructExpr(hasDeclaration(cxxConstructorDecl( in AST_POLYMORPHIC_MATCHER_P2()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 419 hasDeclaration(is_gtest_assertion_result_ctor)), in main()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | RegistryTest.cpp | 218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 219 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()
|