Lines Matching refs:functionDecl
29 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
32 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
37 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
43 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
634 DeclarationMatcher AnyOpStar = functionDecl(hasOverloadedOperatorName("*")); in TEST()
802 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST()
839 EXPECT_TRUE(matches("extern \"C\" void f() {}", functionDecl(isExternC()))); in TEST()
841 functionDecl(isExternC()))); in TEST()
842 EXPECT_TRUE(notMatches("void f() {}", functionDecl(isExternC()))); in TEST()
847 functionDecl(hasName("~A"), isDefaulted()))); in TEST()
849 functionDecl(hasName("~B"), isDefaulted()))); in TEST()
854 notMatches("void Func();", functionDecl(hasName("Func"), isDeleted()))); in TEST()
856 functionDecl(hasName("Func"), isDeleted()))); in TEST()
860 EXPECT_TRUE(notMatches("void f();", functionDecl(isNoThrow()))); in TEST()
861 EXPECT_TRUE(notMatches("void f() throw(int);", functionDecl(isNoThrow()))); in TEST()
863 notMatches("void f() noexcept(false);", functionDecl(isNoThrow()))); in TEST()
864 EXPECT_TRUE(matches("void f() throw();", functionDecl(isNoThrow()))); in TEST()
865 EXPECT_TRUE(matches("void f() noexcept;", functionDecl(isNoThrow()))); in TEST()
879 functionDecl(hasName("bar"), isConstexpr()))); in TEST()
1419 EXPECT_TRUE(notMatches("void f();", functionDecl(hasDynamicExceptionSpec()))); in TEST()
1421 functionDecl(hasDynamicExceptionSpec()))); in TEST()
1423 functionDecl(hasDynamicExceptionSpec()))); in TEST()
1425 functionDecl(hasDynamicExceptionSpec()))); in TEST()
1427 matches("void j() throw();", functionDecl(hasDynamicExceptionSpec()))); in TEST()
1429 matches("void k() throw(int);", functionDecl(hasDynamicExceptionSpec()))); in TEST()
1431 matches("void l() throw(...);", functionDecl(hasDynamicExceptionSpec()))); in TEST()
1572 functionDecl(hasParameter(0, hasType(recordDecl(hasName("A")))), in TEST()
1654 functionDecl(isInstantiated()))); in TEST()
1692 functionDecl(isExplicitTemplateSpecialization()))); in TEST()
1704 functionDecl(isExplicitTemplateSpecialization()))); in TEST()
1714 functionDecl(isExplicitTemplateSpecialization()))); in TEST()
1726 functionDecl(isExplicitTemplateSpecialization()))); in TEST()
1872 functionDecl(returns(qualType().bind("type")), in TEST()
1886 functionDecl( in TEST()