/external/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 108 functionDecl( in TEST() 117 functionDecl( in TEST() 126 functionDecl( in TEST() 139 functionDecl( in TEST() 151 functionDecl( in TEST() 163 functionDecl( in TEST() 172 functionDecl( in TEST() 189 functionDecl( in TEST() 227 functionDecl(hasBody(compoundStmt(has(atomicExpr( in TEST() 240 functionDecl( in TEST() [all …]
|
D | SourceLocationTest.cpp | 154 EXPECT_TRUE(Verifier.match("class C { C(); };", functionDecl())); in TEST() 160 EXPECT_TRUE(Verifier.match("class C { C() = default; };", functionDecl())); in TEST() 166 EXPECT_TRUE(Verifier.match("class C { C() = delete; };", functionDecl())); in TEST() 550 functionDecl())); in TEST() 558 functionDecl(), in TEST() 569 functionDecl())); in TEST() 579 functionDecl(), in TEST()
|
D | StmtPrinterTest.cpp | 118 functionDecl(hasName(ContainingFunction), in PrintedStmtCXX98Matches() 144 functionDecl(hasName(ContainingFunction), in PrintedStmtMSMatches()
|
D | ASTTypeTraitsTest.cpp | 155 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); in TEST() 167 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); in TEST()
|
D | ASTContextParentMapTest.cpp | 41 typeLoc(hasParent(typeLoc(hasParent(functionDecl())))))); in TEST()
|
D | DeclPrinterTest.cpp | 463 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 29 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 32 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 37 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 43 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 634 DeclarationMatcher AnyOpStar = functionDecl(hasOverloadedOperatorName("*")); in TEST() 802 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST() 839 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC()))); in TEST() 841 functionDecl(isExternC()))); in TEST() 842 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC()))); in TEST() 847 functionDecl(hasName("~A"), isDefaulted()))); in TEST() [all …]
|
D | ASTMatchersTraversalTest.cpp | 82 functionDecl(forEachDescendant( in TEST() 454 functionDecl( in TEST() 511 functionDecl(returns(asString("int"))))); in TEST() 513 functionDecl(returns(asString("float"))))); in TEST() 515 functionDecl(returns(hasDeclaration( in TEST() 1016 EXPECT_TRUE(matches("void f() {}", functionDecl(hasBody(compoundStmt())))); in TEST() 1017 EXPECT_TRUE(notMatches("void f();", functionDecl(hasBody(compoundStmt())))); in TEST() 1019 functionDecl(hasBody(compoundStmt())))); in TEST() 1260 hasTargetDecl(functionDecl()))))); in TEST() 1263 hasTargetDecl(functionDecl()))))); in TEST() [all …]
|
D | ASTMatchersNodeTest.cpp | 440 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f")))); in TEST() 465 EXPECT_TRUE(matches("void f(...);", functionDecl(isVariadic()))); in TEST() 466 EXPECT_TRUE(notMatches("void f(int);", functionDecl(isVariadic()))); in TEST() 468 functionDecl(isVariadic()))); in TEST() 469 EXPECT_TRUE(notMatches("void f();", functionDecl(isVariadic()))); in TEST() 470 EXPECT_TRUE(notMatchesC("void f();", functionDecl(isVariadic()))); in TEST() 471 EXPECT_TRUE(matches("void f(...);", functionDecl(parameterCountIs(0)))); in TEST() 472 EXPECT_TRUE(matchesC("void f();", functionDecl(parameterCountIs(0)))); in TEST() 473 EXPECT_TRUE(matches("void f(int, ...);", functionDecl(parameterCountIs(1)))); in TEST() 494 functionDecl(hasName("g")))))))); in TEST() [all …]
|
D | ASTMatchersInternalTest.cpp | 185 functionDecl(isInline(), hasName("f")))); in TEST()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 135 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST() 153 "int x;", VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
|
D | RegistryTest.cpp | 152 Value = functionDecl(constructMatcher("parameterCountIs", 2) in TEST_F() 180 functionDecl(constructMatcher( in TEST_F()
|
/external/v8/tools/clang/rewrite_scoped_refptr/ |
D | RewriteScopedRefptr.cpp | 301 returnStmt(hasAncestor(id("fn", functionDecl(returns(pointerType())))))); in main() 329 functionDecl(anyOf(hasName("CheckEQImpl"), hasName("CheckNEImpl"))); in main() 330 auto is_gtest_helper = functionDecl( in main()
|
/external/clang/unittests/Analysis/ |
D | CFGTest.cpp | 48 Finder.addMatcher(ast_matchers::functionDecl().bind("func"), &Callback); in TEST()
|
/external/v8/tools/clang/pass_to_move/ |
D | PassToMove.cpp | 92 callee(functionDecl(hasName("Pass"), returns(rValueReferenceType()))), in main()
|
/external/v8/tools/clang/rewrite_to_chrome_style/ |
D | RewriteToChromeStyle.cpp | 615 auto conflict_matcher = functionDecl(anyOf( in GetNameForDecl() 618 functionDecl(returns(type_containing_same_name_as_function), in GetNameForDecl() 1361 unless(hasAncestor(functionDecl(isDefaulted()))))); in main() 1397 functionDecl( in main()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 955 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable 3222 callExpr(callee(functionDecl( in AST_POLYMORPHIC_MATCHER_P2() 4297 functionDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION() 4318 functionDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 191 REGISTER_MATCHER(functionDecl); in RegistryMaps()
|