DWARF/DIERef: remove non-const operator<

It serves no purpose as one can always invoke the const version instead.

llvm-svn: 360583
This commit is contained in:
Pavel Labath 2019-05-13 13:52:40 +00:00
parent 83e61bc5e2
commit b1e28d9b6a
1 changed files with 0 additions and 2 deletions

View File

@ -26,8 +26,6 @@ struct DIERef {
return die_offset < ref.die_offset;
}
bool operator<(const DIERef &ref) { return die_offset < ref.die_offset; }
explicit operator bool() const {
return cu_offset != DW_INVALID_OFFSET || die_offset != DW_INVALID_OFFSET;
}