Home
last modified time | relevance | path

Searched refs:functionDecl (Results 1 – 9 of 9) sorted by relevance

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp434 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/
DStmtPrinterTest.cpp118 functionDecl(hasName(ContainingFunction), in PrintedStmtCXX98Matches()
144 functionDecl(hasName(ContainingFunction), in PrintedStmtMSMatches()
DASTTypeTraitsTest.cpp144 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); in TEST()
156 EXPECT_TRUE(Verifier.match("void f() {}", functionDecl())); in TEST()
DSourceLocationTest.cpp154 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()
DDeclPrinterTest.cpp452 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp138 VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
156 "int x;", VariantValue(VariantMatcher::SingleMatcher(functionDecl())) in TEST()
DRegistryTest.cpp152 Value = functionDecl(constructMatcher("parameterCountIs", 2) in TEST_F()
180 functionDecl(constructMatcher( in TEST_F()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h787 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/
DRegistry.cpp166 REGISTER_MATCHER(functionDecl); in RegistryMaps()