diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-03-01 01:16:21 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-03-01 01:16:21 +0000 |
commit | ec8605f1d7ec846dbf51047bfd5c56d32d1ff91c (patch) | |
tree | 12fb7aad7baee74a10fe22a2cb64e46b3d61b01c /lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp | |
parent | d26a475068535834bbebd87f429ec773d6227e41 (diff) | |
download | clang-ec8605f1d7ec846dbf51047bfd5c56d32d1ff91c.tar.gz |
[analyzer] Rename CheckerV2 -> Checker.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp b/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp index ed7094f124..c4d533150d 100644 --- a/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp @@ -16,7 +16,7 @@ //===----------------------------------------------------------------------===// #include "ClangSACheckers.h" -#include "clang/StaticAnalyzer/Core/CheckerV2.h" +#include "clang/StaticAnalyzer/Core/Checker.h" #include "clang/StaticAnalyzer/Core/CheckerManager.h" #include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h" #include "clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h" @@ -37,7 +37,7 @@ static bool IsCFError(const ParmVarDecl *PD, IdentifierInfo *II); namespace { class NSErrorMethodChecker - : public CheckerV2< check::ASTDecl<ObjCMethodDecl> > { + : public Checker< check::ASTDecl<ObjCMethodDecl> > { mutable IdentifierInfo *II; public: @@ -83,7 +83,7 @@ void NSErrorMethodChecker::checkASTDecl(const ObjCMethodDecl *D, namespace { class CFErrorFunctionChecker - : public CheckerV2< check::ASTDecl<FunctionDecl> > { + : public Checker< check::ASTDecl<FunctionDecl> > { mutable IdentifierInfo *II; public: @@ -145,7 +145,7 @@ public: namespace { class NSOrCFErrorDerefChecker - : public CheckerV2< check::Location, + : public Checker< check::Location, check::Event<ImplicitNullDerefEvent> > { mutable IdentifierInfo *NSErrorII, *CFErrorII; public: |