Searched refs:functionProtoType (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseNoexceptCheck.cpp | 37 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 D | ASTMatchersNarrowingTest.cpp | 1773 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 D | ASTMatchersNodeTest.cpp | 1635 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 D | Registry.cpp | 259 REGISTER_MATCHER(functionProtoType); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1047 const AstTypeMatcher<FunctionProtoType> functionProtoType; variable
|
| /llvm-project-15.0.7/clang/unittests/Introspection/ |
| H A D | IntrospectionTest.cpp | 1244 decl(hasDescendant(loc(functionProtoType()).bind("tl"))), TU, Ctx); in TEST()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 7001 extern const AstTypeMatcher<FunctionProtoType> functionProtoType;
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Attr.td | 462 // functionType excludes them but functionProtoType includes them. 463 // AttrSubjectMatcherSubRule<"functionProtoType", [HasFunctionProto]>
|