Home
last modified time | relevance | path

Searched refs:functionProtoType (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseNoexceptCheck.cpp37 hasTypeLoc(loc(functionProtoType(hasDynamicExceptionSpec()))), in registerMatchers()
47 functionProtoType(hasDynamicExceptionSpec())))))), in registerMatchers()
49 functionProtoType(hasDynamicExceptionSpec())))))))) in registerMatchers()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp1773 EXPECT_TRUE(notMatches("void f();", functionProtoType(isNoThrow()))); in TEST_P()
1775 notMatches("void f() throw(int);", functionProtoType(isNoThrow()))); in TEST_P()
1776 EXPECT_TRUE(matches("void f() throw();", functionProtoType(isNoThrow()))); in TEST_P()
1790 EXPECT_TRUE(matches("void f() noexcept;", functionProtoType(isNoThrow()))); in TEST_P()
2795 notMatches("void f();", functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2797 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2799 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2801 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2818 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2820 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
[all …]
H A DASTMatchersNodeTest.cpp1635 EXPECT_TRUE(matches("int (*f)(int);", functionProtoType())); in TEST_P()
1636 EXPECT_TRUE(matches("void f(int i);", functionProtoType())); in TEST_P()
1637 EXPECT_TRUE(matches("void f(void);", functionProtoType(parameterCountIs(0)))); in TEST_P()
1644 EXPECT_TRUE(notMatches("void f();", functionProtoType())); in TEST_P()
1651 EXPECT_TRUE(matches("void f();", functionProtoType(parameterCountIs(0)))); in TEST_P()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp259 REGISTER_MATCHER(functionProtoType); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1047 const AstTypeMatcher<FunctionProtoType> functionProtoType; variable
/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp1244 decl(hasDescendant(loc(functionProtoType()).bind("tl"))), TU, Ctx); in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7001 extern const AstTypeMatcher<FunctionProtoType> functionProtoType;
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttr.td462 // functionType excludes them but functionProtoType includes them.
463 // AttrSubjectMatcherSubRule<"functionProtoType", [HasFunctionProto]>