[llvm] r254508 - Fix class SCEVPredicate has virtual functions and accessible non-virtual destructor
Andy Gibbs via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 05:41:24 PST 2015
Author: andyg
Date: Wed Dec 2 07:41:24 2015
New Revision: 254508
URL: http://llvm.org/viewvc/llvm-project?rev=254508&view=rev
Log:
Fix class SCEVPredicate has virtual functions and accessible non-virtual destructor
Modified:
llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=254508&r1=254507&r2=254508&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Wed Dec 2 07:41:24 2015
@@ -183,7 +183,7 @@ namespace llvm {
protected:
SCEVPredicateKind Kind;
- ~SCEVPredicate() = default;
+ virtual ~SCEVPredicate() = default;
SCEVPredicate(const SCEVPredicate&) = default;
SCEVPredicate &operator=(const SCEVPredicate&) = default;
More information about the llvm-commits
mailing list