From: Andy Gibbs Date: Wed, 2 Dec 2015 13:41:24 +0000 (+0000) Subject: Fix class SCEVPredicate has virtual functions and accessible non-virtual destructor X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3304e8735eaed35b561a0b1c2819ad39e0c87387;p=oota-llvm.git Fix class SCEVPredicate has virtual functions and accessible non-virtual destructor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254508 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index da8c68aa683..0000b42391a 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -183,7 +183,7 @@ namespace llvm { protected: SCEVPredicateKind Kind; - ~SCEVPredicate() = default; + virtual ~SCEVPredicate() = default; SCEVPredicate(const SCEVPredicate&) = default; SCEVPredicate &operator=(const SCEVPredicate&) = default;