[cfe-commits] r76924 - in /cfe/trunk: include/clang/Analysis/PathSensitive/Checker.h lib/Analysis/GRExprEngineInternalChecks.cpp
Ted Kremenek
kremenek at apple.com
Thu Jul 23 17:40:31 PDT 2009
Author: kremenek
Date: Thu Jul 23 19:40:31 2009
New Revision: 76924
URL: http://llvm.org/viewvc/llvm-project?rev=76924&view=rev
Log:
Mark destructor of Checker virtual.
Modified:
cfe/trunk/include/clang/Analysis/PathSensitive/Checker.h
cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp
Modified: cfe/trunk/include/clang/Analysis/PathSensitive/Checker.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/Checker.h?rev=76924&r1=76923&r2=76924&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/Checker.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/Checker.h Thu Jul 23 19:40:31 2009
@@ -92,6 +92,7 @@
}
public:
+ virtual ~Checker() {}
virtual void _PreVisit(CheckerContext &C, const Stmt *stmt) = 0;
virtual const void *getTag() = 0;
};
Modified: cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp?rev=76924&r1=76923&r2=76924&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngineInternalChecks.cpp Thu Jul 23 19:40:31 2009
@@ -544,6 +544,7 @@
public:
CheckAttrNonNull() : BT(0) {}
+ ~CheckAttrNonNull() {}
const void *getTag() {
static int x = 0;
More information about the cfe-commits
mailing list