[cfe-commits] r115345 - /cfe/trunk/lib/Checker/UnreachableCodeChecker.cpp
Tom Care
tcare at apple.com
Fri Oct 1 13:52:07 PDT 2010
Author: tcare
Date: Fri Oct 1 15:52:07 2010
New Revision: 115345
URL: http://llvm.org/viewvc/llvm-project?rev=115345&view=rev
Log:
UnreachableCodeChecker does not need to inherit from CheckerVisitor, only Checker. It does not use any AST Stmt hooks, only VisitEndAnalysis.
Modified:
cfe/trunk/lib/Checker/UnreachableCodeChecker.cpp
Modified: cfe/trunk/lib/Checker/UnreachableCodeChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/UnreachableCodeChecker.cpp?rev=115345&r1=115344&r2=115345&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/UnreachableCodeChecker.cpp (original)
+++ cfe/trunk/lib/Checker/UnreachableCodeChecker.cpp Fri Oct 1 15:52:07 2010
@@ -31,7 +31,7 @@
using namespace clang;
namespace {
-class UnreachableCodeChecker : public CheckerVisitor<UnreachableCodeChecker> {
+class UnreachableCodeChecker : public Checker {
public:
static void *getTag();
void VisitEndAnalysis(ExplodedGraph &G,
More information about the cfe-commits
mailing list