diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h index 6c0d14e1470ce6..ed0c55a4cb1eba 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h @@ -132,11 +132,6 @@ class ValueIDNum { u.s = {Block, Inst, Loc.asU64()}; } - ValueIDNum &operator=(const ValueIDNum &Other) { - u.Value = Other.u.Value; - return *this; - } - uint64_t getBlock() const { return u.s.BlockNo; } uint64_t getInst() const { return u.s.InstNo; } uint64_t getLoc() const { return u.s.LocNo; }