Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:functionDecl

382       callExpr(allOf(callee(functionDecl(hasName("f"))),
385 callExpr(allOf(callee(functionDecl(hasName("f"))),
390 callExpr(allOf(callee(functionDecl(hasName("f"))),
396 callExpr(allOf(callee(functionDecl(hasName("f"))),
690 functionDecl(forEachDescendant(
1250 StatementMatcher CallFunctionF = callExpr(callee(functionDecl(hasName("f"))));
1293 functionDecl(hasName("g"))))))));
1327 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1));
1393 functionDecl(returns(asString("int")))));
1395 functionDecl(returns(asString("float")))));
1397 functionDecl(returns(hasDeclaration(
1402 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC())));
1404 functionDecl(isExternC())));
1405 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC())));
2804 hasTargetDecl(functionDecl())))));
2807 hasTargetDecl(functionDecl())))));
2973 new VerifyIdIsBoundTo<FunctionDecl>("decl", 1)));
3046 functionDecl(hasParameter(0, hasType(recordDecl(hasName("A")))),
3110 functionDecl(isExplicitTemplateSpecialization())));
3122 functionDecl(isExplicitTemplateSpecialization())));
3132 functionDecl(isExplicitTemplateSpecialization())));
3144 functionDecl(isExplicitTemplateSpecialization())));
3175 integerLiteral(equals(42), hasAncestor(functionDecl(hasName("f"))))));
3206 hasAncestor(functionDecl(hasParameter(
3208 new VerifyIdIsBoundTo<FunctionDecl>("f", "g", 2)));
3255 hasParent(compoundStmt(hasParent(functionDecl(
3262 hasParent(compoundStmt(hasParent(functionDecl(
3269 hasParent(functionDecl(
3271 hasParent(functionDecl(hasParent(recordDecl(
3694 functionDecl(hasName("f"),
3737 functionDecl(hasName("f"),