Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNoexceptCheck.cpp37 hasTypeLoc(loc(functionProtoType(hasDynamicExceptionSpec()))), in registerMatchers()
47 functionProtoType(hasDynamicExceptionSpec())))))), in registerMatchers()
49 functionProtoType(hasDynamicExceptionSpec())))))))) in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp867 EXPECT_TRUE(notMatches("void f();", functionProtoType(isNoThrow()))); in TEST()
868 EXPECT_TRUE(notMatches("void f() throw(int);", functionProtoType(isNoThrow()))); in TEST()
870 notMatches("void f() noexcept(false);", functionProtoType(isNoThrow()))); in TEST()
871 EXPECT_TRUE(matches("void f() throw();", functionProtoType(isNoThrow()))); in TEST()
872 EXPECT_TRUE(matches("void f() noexcept;", functionProtoType(isNoThrow()))); in TEST()
1433 EXPECT_TRUE(notMatches("void f();", functionProtoType(hasDynamicExceptionSpec()))); in TEST()
1435 functionProtoType(hasDynamicExceptionSpec()))); in TEST()
1437 functionProtoType(hasDynamicExceptionSpec()))); in TEST()
1439 functionProtoType(hasDynamicExceptionSpec()))); in TEST()
1441 matches("void j() throw();", functionProtoType(hasDynamicExceptionSpec()))); in TEST()
[all …]
DASTMatchersNodeTest.cpp1174 EXPECT_TRUE(matches("int (*f)(int);", functionProtoType())); in TEST()
1175 EXPECT_TRUE(matches("void f(int i);", functionProtoType())); in TEST()
1176 EXPECT_TRUE(matches("void f();", functionProtoType(parameterCountIs(0)))); in TEST()
1177 EXPECT_TRUE(notMatchesC("void f();", functionProtoType())); in TEST()
1179 matchesC("void f(void);", functionProtoType(parameterCountIs(0)))); in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1317 EXPECT_TRUE(notMatches("void f();", functionProtoType(isNoThrow()))); in TEST_P()
1319 notMatches("void f() throw(int);", functionProtoType(isNoThrow()))); in TEST_P()
1320 EXPECT_TRUE(matches("void f() throw();", functionProtoType(isNoThrow()))); in TEST_P()
1333 notMatches("void f() noexcept(false);", functionProtoType(isNoThrow()))); in TEST_P()
1334 EXPECT_TRUE(matches("void f() noexcept;", functionProtoType(isNoThrow()))); in TEST_P()
2293 notMatches("void f();", functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2295 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2297 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2299 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
2316 functionProtoType(hasDynamicExceptionSpec()))); in TEST_P()
[all …]
DASTMatchersNodeTest.cpp1614 EXPECT_TRUE(matches("int (*f)(int);", functionProtoType())); in TEST_P()
1615 EXPECT_TRUE(matches("void f(int i);", functionProtoType())); in TEST_P()
1616 EXPECT_TRUE(matches("void f(void);", functionProtoType(parameterCountIs(0)))); in TEST_P()
1623 EXPECT_TRUE(notMatches("void f();", functionProtoType())); in TEST_P()
1630 EXPECT_TRUE(matches("void f();", functionProtoType(parameterCountIs(0)))); in TEST_P()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp192 REGISTER_MATCHER(functionProtoType); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp241 REGISTER_MATCHER(functionProtoType); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp1006 const AstTypeMatcher<FunctionProtoType> functionProtoType; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4604 AST_TYPE_MATCHER(FunctionProtoType, functionProtoType);
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h6322 extern const AstTypeMatcher<FunctionProtoType> functionProtoType;
/external/llvm-project/clang/include/clang/Basic/
DAttr.td432 // functionType excludes them but functionProtoType includes them.
433 // AttrSubjectMatcherSubRule<"functionProtoType", [HasFunctionProto]>