Searched refs:functionDecl (Results 1 – 9 of 9) sorted by relevance
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 434 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 437 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 442 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 448 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST() 805 functionDecl(forEachDescendant( in TEST() 1186 DeclarationMatcher AnyOpStar = functionDecl(hasOverloadedOperatorName("*")); in TEST() 1411 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f")))); in TEST() 1455 functionDecl(hasName("g")))))))); in TEST() 1489 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST() 1570 functionDecl(returns(asString("int"))))); in TEST() [all …]
|
/external/clang/unittests/AST/ |
D | StmtPrinterTest.cpp | 118 functionDecl(hasName(ContainingFunction), in PrintedStmtCXX98Matches() 144 functionDecl(hasName(ContainingFunction), in PrintedStmtMSMatches()
|
D | ASTTypeTraitsTest.cpp | 144 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); in TEST() 156 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); in TEST()
|
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()
|
D | DeclPrinterTest.cpp | 452 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | VariantValueTest.cpp | 138 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST() 156 "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/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 787 const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> functionDecl; variable 3296 functionDecl(isTemplateInstantiation()))); in AST_MATCHER_FUNCTION() 3317 functionDecl(isTemplateInstantiation()))))); in AST_MATCHER_FUNCTION()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 166 REGISTER_MATCHER(functionDecl); in RegistryMaps()
|