From: Matt Beaumont-Gay Date: Fri, 15 Feb 2013 23:51:59 +0000 (+0000) Subject: Pacify -Wnon-virtual-dtor X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b075ed3b90fa2a520aeb15802fddf3460d865f91;p=oota-llvm.git Pacify -Wnon-virtual-dtor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175324 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/ScalarEvolutionExpressions.h b/include/llvm/Analysis/ScalarEvolutionExpressions.h index 88af0b0873b..eac91131ad5 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpressions.h +++ b/include/llvm/Analysis/ScalarEvolutionExpressions.h @@ -556,6 +556,8 @@ namespace llvm { public: SCEVRewriter(ScalarEvolution &S) : SE(S) {} + virtual ~SCEVRewriter() {} + virtual const SCEV *visitConstant(const SCEVConstant *Constant) { return Constant; }