Skip to content

Commit 60bcec4

Browse files
committed
[LiveDebugValues] Delete unneeded copy constructor after D83047
It will suppress the implicitly-declared copy assignment operator in C++20.
1 parent 5d8eede commit 60bcec4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,6 @@ class DbgValueProperties {
363363
DbgValueProperties(const DIExpression *DIExpr, bool Indirect)
364364
: DIExpr(DIExpr), Indirect(Indirect) {}
365365

366-
DbgValueProperties(const DbgValueProperties &Cpy)
367-
: DIExpr(Cpy.DIExpr), Indirect(Cpy.Indirect) {}
368-
369366
/// Extract properties from an existing DBG_VALUE instruction.
370367
DbgValueProperties(const MachineInstr &MI) {
371368
assert(MI.isDebugValue());

0 commit comments

Comments
 (0)