Lines Matching refs:functionDecl
82 functionDecl(forEachDescendant( in TEST()
454 functionDecl( in TEST()
511 functionDecl(returns(asString("int"))))); in TEST()
513 functionDecl(returns(asString("float"))))); in TEST()
515 functionDecl(returns(hasDeclaration( in TEST()
1016 EXPECT_TRUE(matches("void f() {}", functionDecl(hasBody(compoundStmt())))); in TEST()
1017 EXPECT_TRUE(notMatches("void f();", functionDecl(hasBody(compoundStmt())))); in TEST()
1019 functionDecl(hasBody(compoundStmt())))); in TEST()
1260 hasTargetDecl(functionDecl()))))); in TEST()
1263 hasTargetDecl(functionDecl()))))); in TEST()
1472 functionDecl(decl().bind("x"), hasAnyParameter(hasName("y"))), in TEST()
1476 functionDecl(decl().bind("x"), in TEST()
1483 functionDecl(parameterCountIs(1))))), in TEST()
1496 functionDecl(decl().bind("x"), hasAncestor(recordDecl(hasName("::A")))), in TEST()
1583 integerLiteral(equals(42), hasAncestor(functionDecl(hasName("f")))))); in TEST()
1614 hasAncestor(functionDecl(hasParameter( in TEST()
1711 hasParent(compoundStmt(hasParent(functionDecl( in TEST()
1718 hasParent(compoundStmt(hasParent(functionDecl(hasParent( in TEST()
1725 allOf(hasParent(functionDecl(hasParent( in TEST()
1727 hasParent(functionDecl(hasParent(cxxRecordDecl( in TEST()
1865 functionDecl(hasName("f"), in TEST()
1908 functionDecl(hasName("f"), in TEST()