Skip to content

Commit

Permalink
Revert "[DebugInfo][InstrRef][NFC] Add a missing assignment operator"
Browse files Browse the repository at this point in the history
This reverts commit f184293.

Bitten by -Werror,-Wdeprecated-copy on a buildbot, alas!
  • Loading branch information
jmorse committed Jan 31, 2022
1 parent d1dfa9f commit e9739f1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
Expand Up @@ -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; }
Expand Down

0 comments on commit e9739f1

Please sign in to comment.