Home
last modified time | relevance | path

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

/external/clang/unittests/AST/
DASTImporterTest.cpp229 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/
DListValueRewriter.cpp364 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/
DRewriteToChromeStyle.cpp212 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/
DASTMatchersTraversalTest.cpp148 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 …]
DASTMatchersNodeTest.cpp196 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()
DASTMatchersNarrowingTest.cpp555 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/
DEmptyStringConverter.cpp86 hasDeclaration(cxxMethodDecl(ofClass(hasName("std::basic_string")))), in SetupMatchers()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2420 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/
DRewriteScopedRefptr.cpp419 hasDeclaration(is_gtest_assertion_result_ctor)), in main()
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp218 specifiesType(hasDeclaration(recordDecl(hasName("A"))))))) in TEST_F()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp219 REGISTER_MATCHER(hasDeclaration); in RegistryMaps()