summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/cert
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/cert')
-rw-r--r--clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp2
-rw-r--r--clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp b/clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
index 89b8b0398d5..4954fe30c02 100644
--- a/clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
+++ b/clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp
@@ -26,7 +26,7 @@ void StaticObjectExceptionCheck::registerMatchers(MatchFinder *Finder) {
Finder->addMatcher(
varDecl(anyOf(hasThreadStorageDuration(), hasStaticStorageDuration()),
hasInitializer(cxxConstructExpr(hasDeclaration(
- cxxConstructorDecl(unless(matchers::isNoThrow()))
+ cxxConstructorDecl(unless(isNoThrow()))
.bind("ctor")))))
.bind("var"),
this);
diff --git a/clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp b/clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp
index 3cfcdbf7702..f569789d425 100644
--- a/clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp
+++ b/clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp
@@ -23,7 +23,7 @@ void ThrownExceptionTypeCheck::registerMatchers(MatchFinder *Finder) {
Finder->addMatcher(
cxxThrowExpr(
has(cxxConstructExpr(hasDeclaration(cxxConstructorDecl(
- isCopyConstructor(), unless(matchers::isNoThrow()))))
+ isCopyConstructor(), unless(isNoThrow()))))
.bind("expr"))),
this);
}
OpenPOWER on IntegriCloud