From 33a0eb740e59d5498c835fd8d41f78ef7359e4a8 Mon Sep 17 00:00:00 2001 From: Andy Gibbs Date: Thu, 17 Dec 2015 16:43:53 +0000 Subject: Revert r254592 (virtual dtor in SCEVPredicate). Clang has better diagnostics in this case. It is not necessary therefore to change the destructor to avoid what is effectively an invalid warning in gcc. Instead, better handle the warning flags given to the compiler. llvm-svn: 255905 --- llvm/lib/Analysis/ScalarEvolution.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp') diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 1c2fb3d1ed0..e5d8109fcbb 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -9628,8 +9628,6 @@ SCEVPredicate::SCEVPredicate(const FoldingSetNodeIDRef ID, SCEVPredicateKind Kind) : FastID(ID), Kind(Kind) {} -SCEVPredicate::~SCEVPredicate() {} - SCEVEqualPredicate::SCEVEqualPredicate(const FoldingSetNodeIDRef ID, const SCEVUnknown *LHS, const SCEVConstant *RHS) -- cgit v1.2.3