summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-03-03 21:50:47 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-03-03 21:50:47 +0000
commit49cfb8166598aad9b1785c3ec614ebdf75e037f8 (patch)
tree1b86950c249a4cf8ae04acaa69554fadfaa4894c /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent94690723671ac085d1fe385e854ff25451ebde24 (diff)
downloadbcm5719-llvm-49cfb8166598aad9b1785c3ec614ebdf75e037f8.tar.gz
bcm5719-llvm-49cfb8166598aad9b1785c3ec614ebdf75e037f8.zip
DAGCombiner::LoadedSlice: Remove explicit copy ctor in favor of the Rule of Zero
This way, the copy assignment operator can be used without hitting the deprecated case in C++11. llvm-svn: 231144
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 9e2b5afde1e..c7a9df543a0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -9115,9 +9115,6 @@ struct LoadedSlice {
unsigned Shift = 0, SelectionDAG *DAG = nullptr)
: Inst(Inst), Origin(Origin), Shift(Shift), DAG(DAG) {}
- LoadedSlice(const LoadedSlice &LS)
- : Inst(LS.Inst), Origin(LS.Origin), Shift(LS.Shift), DAG(LS.DAG) {}
-
/// \brief Get the bits used in a chunk of bits \p BitWidth large.
/// \return Result is \p BitWidth and has used bits set to 1 and
/// not used bits set to 0.
OpenPOWER on IntegriCloud