[cfe-commits] r78306 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRSubEngine.h

Benjamin Kramer benny.kra at googlemail.com
Thu Aug 6 05:59:58 PDT 2009


Author: d0k
Date: Thu Aug  6 07:59:58 2009
New Revision: 78306

URL: http://llvm.org/viewvc/llvm-project?rev=78306&view=rev
Log:
Silence gcc warning about non-virtual destructors.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/GRSubEngine.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRSubEngine.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRSubEngine.h?rev=78306&r1=78305&r2=78306&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRSubEngine.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRSubEngine.h Thu Aug  6 07:59:58 2009
@@ -28,6 +28,8 @@
 
 class GRSubEngine {
 public:
+  virtual ~GRSubEngine() {}
+
   virtual const GRState* getInitialState() = 0;
 
   virtual GRStateManager& getStateManager() = 0;





More information about the cfe-commits mailing list