[llvm] r338511 - [DebugInfo] Remove ambiguity to fix Windows bots
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 03:40:08 PDT 2018
Author: jdevlieghere
Date: Wed Aug 1 03:40:08 2018
New Revision: 338511
URL: http://llvm.org/viewvc/llvm-project?rev=338511&view=rev
Log:
[DebugInfo] Remove ambiguity to fix Windows bots
Should fix the MSVC bots by explicitly invoking
llvm::make_reverse_iterator to remove ambiguity with
std::make_reverse_iterator.
Modified:
llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDie.h
Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDie.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDie.h?rev=338511&r1=338510&r2=338511&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDie.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDie.h Wed Aug 1 03:40:08 2018
@@ -452,11 +452,11 @@ inline bool operator!=(const std::revers
}
inline std::reverse_iterator<DWARFDie::iterator> DWARFDie::rbegin() const {
- return make_reverse_iterator(end());
+ return llvm::make_reverse_iterator(end());
}
inline std::reverse_iterator<DWARFDie::iterator> DWARFDie::rend() const {
- return make_reverse_iterator(begin());
+ return llvm::make_reverse_iterator(begin());
}
} // end namespace llvm
More information about the llvm-commits
mailing list