Home
last modified time | relevance | path

Searched refs:isNoThrow (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/
H A DStaticObjectExceptionCheck.cpp31 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 DThrownExceptionTypeCheck.cpp26 isCopyConstructor(), unless(isNoThrow())))) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUnhandledExceptionAtNewCheck.cpp59 auto FunctionMayNotThrow = functionDecl(isNoThrow()); in registerMatchers()
H A DExceptionEscapeCheck.cpp56 functionDecl(anyOf(isNoThrow(), cxxDestructorDecl(), in registerMatchers()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DBuiltins.h115 bool isNoThrow(unsigned ID) const { in isNoThrow() function
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp1769 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 DRegistry.cpp448 REGISTER_MATCHER(isNoThrow); in RegistryMaps()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5230 AST_POLYMORPHIC_MATCHER(isNoThrow, in AST_POLYMORPHIC_MATCHER() argument
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp11336 if (getLangOpts().CPlusPlus && BuiltinInfo.isNoThrow(Id)) in GetBuiltinType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp15702 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->hasAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()