mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[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
c047e26e14
commit
058127650f
@ -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…
x
Reference in New Issue
Block a user