/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
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()
|
D | ThrownExceptionTypeCheck.cpp | 26 isCopyConstructor(), unless(isNoThrow())))) in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 860 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/ |
D | ExceptionEscapeCheck.cpp | 56 functionDecl(anyOf(isNoThrow(), cxxDestructorDecl(), in registerMatchers()
|
/external/clang/include/clang/Basic/ |
D | Builtins.h | 109 bool isNoThrow(unsigned ID) const { in isNoThrow() function
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Builtins.h | 109 bool isNoThrow(unsigned ID) const { in isNoThrow() function
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1313 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/ |
D | Registry.cpp | 318 REGISTER_MATCHER(isNoThrow); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 413 REGISTER_MATCHER(isNoThrow); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3365 AST_POLYMORPHIC_MATCHER(isNoThrow, in AST_POLYMORPHIC_MATCHER() argument
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4797 AST_POLYMORPHIC_MATCHER(isNoThrow, in AST_POLYMORPHIC_MATCHER() argument
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 10465 if (getLangOpts().CPlusPlus && BuiltinInfo.isNoThrow(Id)) in GetBuiltinType()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 11871 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->hasAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 14931 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->hasAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()
|