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