reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
389 REGISTER_MATCHER(isNoThrow);
tools/clang/tools/extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp 59 functionDecl(anyOf(isNoThrow(), cxxDestructorDecl(),
tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp31 cxxConstructorDecl(unless(isNoThrow())).bind("func")))), 33 functionDecl(unless(isNoThrow())).bind("func")))), 35 functionDecl(unless(isNoThrow())).bind("func"))))))tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp
27 isCopyConstructor(), unless(isNoThrow()))))
tools/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp1048 EXPECT_TRUE(notMatches("void f();", functionDecl(isNoThrow()))); 1049 EXPECT_TRUE(notMatches("void f() throw(int);", functionDecl(isNoThrow()))); 1051 notMatches("void f() noexcept(false);", functionDecl(isNoThrow()))); 1052 EXPECT_TRUE(matches("void f() throw();", functionDecl(isNoThrow()))); 1053 EXPECT_TRUE(matches("void f() noexcept;", functionDecl(isNoThrow()))); 1055 EXPECT_TRUE(notMatches("void f();", functionProtoType(isNoThrow()))); 1056 EXPECT_TRUE(notMatches("void f() throw(int);", functionProtoType(isNoThrow()))); 1058 notMatches("void f() noexcept(false);", functionProtoType(isNoThrow()))); 1059 EXPECT_TRUE(matches("void f() throw();", functionProtoType(isNoThrow()))); 1060 EXPECT_TRUE(matches("void f() noexcept;", functionProtoType(isNoThrow())));