Searched refs:isNoThrow (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | StaticObjectExceptionCheck.cpp | 31 cxxConstructorDecl(unless(isNoThrow())).bind("func")))), in registerMatchers() 33 functionDecl(unless(isNoThrow())).bind("func")))), in registerMatchers() 35 functionDecl(unless(isNoThrow())).bind("func")))))) in registerMatchers()
|
| H A D | ThrownExceptionTypeCheck.cpp | 26 isCopyConstructor(), unless(isNoThrow())))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UnhandledExceptionAtNewCheck.cpp | 59 auto FunctionMayNotThrow = functionDecl(isNoThrow()); in registerMatchers()
|
| H A D | ExceptionEscapeCheck.cpp | 56 functionDecl(anyOf(isNoThrow(), cxxDestructorDecl(), in registerMatchers()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Builtins.h | 115 bool isNoThrow(unsigned ID) const { in isNoThrow() function
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 1769 EXPECT_TRUE(notMatches("void f();", functionDecl(isNoThrow()))); in TEST_P() 1770 EXPECT_TRUE(notMatches("void f() throw(int);", functionDecl(isNoThrow()))); in TEST_P() 1771 EXPECT_TRUE(matches("void f() throw();", functionDecl(isNoThrow()))); in TEST_P() 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() 1785 notMatches("void f() noexcept(false);", functionDecl(isNoThrow()))); in TEST_P() 1786 EXPECT_TRUE(matches("void f() noexcept;", functionDecl(isNoThrow()))); in TEST_P() 1789 notMatches("void f() noexcept(false);", functionProtoType(isNoThrow()))); in TEST_P() 1790 EXPECT_TRUE(matches("void f() noexcept;", functionProtoType(isNoThrow()))); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 448 REGISTER_MATCHER(isNoThrow); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5230 AST_POLYMORPHIC_MATCHER(isNoThrow, in AST_POLYMORPHIC_MATCHER() argument
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 11336 if (getLangOpts().CPlusPlus && BuiltinInfo.isNoThrow(Id)) in GetBuiltinType()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 15702 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->hasAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()
|