Searched refs:functionDecl (Results 1 - 10 of 10) sorted by relevance
/external/clang/unittests/AST/ |
H A D | ASTTypeTraitsTest.cpp | 105 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); 117 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl()));
|
H A D | StmtPrinterTest.cpp | 118 functionDecl(hasName(ContainingFunction), 144 functionDecl(hasName(ContainingFunction),
|
H A D | SourceLocationTest.cpp | 122 EXPECT_TRUE(Verifier.match("class C { C(); };", functionDecl()));
|
H A D | DeclPrinterTest.cpp | 452 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"),
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | VariantValueTest.cpp | 138 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) 156 "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>();
|
/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTest.cpp | 412 callExpr(allOf(callee(functionDecl(hasName("f"))), 415 callExpr(allOf(callee(functionDecl(hasName("f"))), 420 callExpr(allOf(callee(functionDecl(hasName("f"))), 426 callExpr(allOf(callee(functionDecl(hasName("f"))), 734 functionDecl(forEachDescendant( 1326 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f")))); 1370 functionDecl(hasName("g")))))))); 1404 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); 1485 functionDecl(returns(asString("int"))))); 1487 functionDecl(return [all...] |
/external/chromium_org/tools/clang/rewrite_scoped_refptr/ |
H A D | RewriteScopedRefptr.cpp | 290 returnStmt(hasAncestor(id("fn", functionDecl(returns(pointerType())))))); 318 functionDecl(anyOf(hasName("CheckEQImpl"), hasName("CheckNEImpl"))); 319 auto is_gtest_helper = functionDecl(
|
/external/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 163 REGISTER_MATCHER(functionDecl);
|
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 585 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; member in namespace:clang::ast_matchers 2330 /// functionDecl(parameterCountIs(2)) 2357 /// functionDecl(isExternC()) 2805 /// functionDecl(hasAnyParameter(hasType(isInteger()))) 2822 /// functionDecl(hasAnyParameter(hasType(isConstQualified()))) 2905 /// usingDecl(hasAnyUsingShadowDecl(hasTargetDecl(functionDecl()))) 2952 /// functionDecl(isExplicitTemplateSpecialization())
|
Completed in 161 milliseconds