[llvm] r254513 - Rollback r254508 and r254511 to fix buildbots
Andy Gibbs via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 06:36:48 PST 2015
Author: andyg
Date: Wed Dec 2 08:36:48 2015
New Revision: 254513
URL: http://llvm.org/viewvc/llvm-project?rev=254513&view=rev
Log:
Rollback r254508 and r254511 to fix buildbots
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=254513&r1=254512&r2=254513&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Wed Dec 2 08:36:48 2015
@@ -183,7 +183,7 @@ namespace llvm {
protected:
SCEVPredicateKind Kind;
- virtual ~SCEVPredicate();
+ ~SCEVPredicate() = default;
SCEVPredicate(const SCEVPredicate&) = default;
SCEVPredicate &operator=(const SCEVPredicate&) = default;
@@ -211,9 +211,6 @@ namespace llvm {
/// if this is a SCEVUnionPredicate.
virtual const SCEV *getExpr() const = 0;
};
-
- /// Default destructor must be defined outside class due to g++ PR53613.
- SCEVPredicate::~SCEVPredicate() = default;
inline raw_ostream &operator<<(raw_ostream &OS, const SCEVPredicate &P) {
P.print(OS);
More information about the llvm-commits
mailing list