summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2015-12-02 14:36:48 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2015-12-02 14:36:48 +0000
commit5538eed8ed4bb5dc30dd3759439f52ee5431707f (patch)
tree3c0a5b4ba0e43716ef5c32840c2a8519b7f7701d
parent15152a5c4142ad871e81596992b6c5d0a59922e6 (diff)
downloadbcm5719-llvm-5538eed8ed4bb5dc30dd3759439f52ee5431707f.tar.gz
bcm5719-llvm-5538eed8ed4bb5dc30dd3759439f52ee5431707f.zip
Rollback r254508 and r254511 to fix buildbots
llvm-svn: 254513
-rw-r--r--llvm/include/llvm/Analysis/ScalarEvolution.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h
index 3c7f1e052a9..da8c68aa683 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolution.h
+++ b/llvm/include/llvm/Analysis/ScalarEvolution.h
@@ -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);
OpenPOWER on IntegriCloud