summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/Interval.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-11 11:32:49 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-11 11:32:49 +0000
commitdabc5073b21bca077cf86a64fde9aa87cf654362 (patch)
treee6ddddd6fb907fa34e59681d00876e9fc56d5e33 /include/llvm/Analysis/Interval.h
parentca396e391e13d417605ebed06780d92c88f14a6b (diff)
downloadllvm-dabc5073b21bca077cf86a64fde9aa87cf654362.tar.gz
llvm-dabc5073b21bca077cf86a64fde9aa87cf654362.tar.bz2
llvm-dabc5073b21bca077cf86a64fde9aa87cf654362.tar.xz
Remove copy ctors that did the same thing as the default one.
The code added nothing but potentially disabled move semantics and made types non-trivially copyable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Interval.h')
-rw-r--r--include/llvm/Analysis/Interval.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/Analysis/Interval.h b/include/llvm/Analysis/Interval.h
index 5ce1260eca..01eba3f16c 100644
--- a/include/llvm/Analysis/Interval.h
+++ b/include/llvm/Analysis/Interval.h
@@ -48,9 +48,6 @@ public:
Nodes.push_back(Header);
}
- inline Interval(const Interval &I) // copy ctor
- : HeaderNode(I.HeaderNode), Nodes(I.Nodes), Successors(I.Successors) {}
-
inline BasicBlock *getHeaderNode() const { return HeaderNode; }
/// Nodes - The basic blocks in this interval.