Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/cert/
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()
DThrownExceptionTypeCheck.cpp26 isCopyConstructor(), unless(isNoThrow())))) in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp860 EXPECT_TRUE(notMatches("void f();", functionDecl(isNoThrow()))); in TEST()
861 EXPECT_TRUE(notMatches("void f() throw(int);", functionDecl(isNoThrow()))); in TEST()
863 notMatches("void f() noexcept(false);", functionDecl(isNoThrow()))); in TEST()
864 EXPECT_TRUE(matches("void f() throw();", functionDecl(isNoThrow()))); in TEST()
865 EXPECT_TRUE(matches("void f() noexcept;", functionDecl(isNoThrow()))); in TEST()
867 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()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DExceptionEscapeCheck.cpp56 functionDecl(anyOf(isNoThrow(), cxxDestructorDecl(), in registerMatchers()
/external/clang/include/clang/Basic/
DBuiltins.h109 bool isNoThrow(unsigned ID) const { in isNoThrow() function
/external/llvm-project/clang/include/clang/Basic/
DBuiltins.h109 bool isNoThrow(unsigned ID) const { in isNoThrow() function
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1313 EXPECT_TRUE(notMatches("void f();", functionDecl(isNoThrow()))); in TEST_P()
1314 EXPECT_TRUE(notMatches("void f() throw(int);", functionDecl(isNoThrow()))); in TEST_P()
1315 EXPECT_TRUE(matches("void f() throw();", functionDecl(isNoThrow()))); in TEST_P()
1317 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()
1329 notMatches("void f() noexcept(false);", functionDecl(isNoThrow()))); in TEST_P()
1330 EXPECT_TRUE(matches("void f() noexcept;", functionDecl(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()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp318 REGISTER_MATCHER(isNoThrow); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp413 REGISTER_MATCHER(isNoThrow); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3365 AST_POLYMORPHIC_MATCHER(isNoThrow, in AST_POLYMORPHIC_MATCHER() argument
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h4797 AST_POLYMORPHIC_MATCHER(isNoThrow, in AST_POLYMORPHIC_MATCHER() argument
/external/llvm-project/clang/lib/AST/
DASTContext.cpp10465 if (getLangOpts().CPlusPlus && BuiltinInfo.isNoThrow(Id)) in GetBuiltinType()
/external/clang/lib/Sema/
DSemaDecl.cpp11871 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->hasAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp14931 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->hasAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()