aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-08-22 10:55:28 -0700
committerFangrui Song <maskray@google.com>2020-08-22 10:55:28 -0700
commit60bcec4eead73996877c389d439af337f186c3ae (patch)
tree4055b4e5e8e0d259d9bf6787aa4b00063f62da3a /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent5d8eedee917de2d39d1c485d07a30f8649bc6866 (diff)
downloadllvm-60bcec4eead73996877c389d439af337f186c3ae.zip
llvm-60bcec4eead73996877c389d439af337f186c3ae.tar.gz
llvm-60bcec4eead73996877c389d439af337f186c3ae.tar.bz2
[LiveDebugValues] Delete unneeded copy constructor after D83047
It will suppress the implicitly-declared copy assignment operator in C++20.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index 5818ecdf24..25f474c 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -363,9 +363,6 @@ public:
DbgValueProperties(const DIExpression *DIExpr, bool Indirect)
: DIExpr(DIExpr), Indirect(Indirect) {}
- DbgValueProperties(const DbgValueProperties &Cpy)
- : DIExpr(Cpy.DIExpr), Indirect(Cpy.Indirect) {}
-
/// Extract properties from an existing DBG_VALUE instruction.
DbgValueProperties(const MachineInstr &MI) {
assert(MI.isDebugValue());