mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix ambiguous typedef introduced in r217747.
Use fully qualified name inside a typedef from llvm::iterator_range<...> to iterator_range. This is reported (rightly I think) by GCC as an ambiguous name redefinition. Hope this fixes the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c3e70ca886
commit
d090be97a8
@ -58,9 +58,9 @@ class DWARFUnitSection : public SmallVector<std::unique_ptr<UnitType>, 1>,
|
||||
};
|
||||
|
||||
public:
|
||||
typedef SmallVectorImpl<std::unique_ptr<UnitType>> UnitVector;
|
||||
typedef llvm::SmallVectorImpl<std::unique_ptr<UnitType>> UnitVector;
|
||||
typedef typename UnitVector::iterator iterator;
|
||||
typedef iterator_range<typename UnitVector::iterator> iterator_range;
|
||||
typedef llvm::iterator_range<typename UnitVector::iterator> iterator_range;
|
||||
|
||||
UnitType *getUnitForOffset(uint32_t Offset) const {
|
||||
auto *CU = std::lower_bound(this->begin(), this->end(), Offset,
|
||||
|
Loading…
Reference in New Issue
Block a user