[llvm] r175324 - Pacify -Wnon-virtual-dtor

Matt Beaumont-Gay matthewbg at google.com
Fri Feb 15 15:51:59 PST 2013


Author: matthewbg
Date: Fri Feb 15 17:51:59 2013
New Revision: 175324

URL: http://llvm.org/viewvc/llvm-project?rev=175324&view=rev
Log:
Pacify -Wnon-virtual-dtor

Modified:
    llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h

Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h?rev=175324&r1=175323&r2=175324&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h Fri Feb 15 17:51:59 2013
@@ -556,6 +556,8 @@ namespace llvm {
   public:
     SCEVRewriter(ScalarEvolution &S) : SE(S) {}
 
+    virtual ~SCEVRewriter() {}
+
     virtual const SCEV *visitConstant(const SCEVConstant *Constant) {
       return Constant;
     }





More information about the llvm-commits mailing list