forked from OSchip/llvm-project
[DebugInfo] Fix MSVC build by adding back necessary reverse_iterator != operator
Put back the std::reverse_iterator<DWARFDie::iterator> != operator that was removed in D78938 to fix VS2019 builds
This commit is contained in:
parent
894c4761c6
commit
2d6b1e9b5f
|
@ -463,6 +463,11 @@ inline bool operator==(const std::reverse_iterator<DWARFDie::iterator> &LHS,
|
|||
return LHS.equals(RHS);
|
||||
}
|
||||
|
||||
inline bool operator!=(const std::reverse_iterator<DWARFDie::iterator> &LHS,
|
||||
const std::reverse_iterator<DWARFDie::iterator> &RHS) {
|
||||
return !(LHS == RHS);
|
||||
}
|
||||
|
||||
inline std::reverse_iterator<DWARFDie::iterator> DWARFDie::rbegin() const {
|
||||
return llvm::make_reverse_iterator(end());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue