summaryrefslogtreecommitdiff
path: root/include
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
commitf9aa57da75782f8956ecaf6d33d32d7daaa929a6 (patch)
tree3ace0489d01bdb1348bbf05d9d9839e8847dc428 /include
parenta933a559f6e509c1a55cf3824ddf7635538ebf1d (diff)
Rollback r254508 and r254511 to fix buildbots
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 3c7f1e052a9..da8c68aa683 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/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);