mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
improve portability to avoid conflicting with std::next in c++'0x.
Patch by Howard Hinnant! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90365 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -328,7 +328,7 @@ void MachineFunction::print(raw_ostream &OS) const {
|
||||
if (I->second)
|
||||
OS << " in reg%" << I->second;
|
||||
|
||||
if (next(I) != E)
|
||||
if (llvm::next(I) != E)
|
||||
OS << ", ";
|
||||
}
|
||||
OS << '\n';
|
||||
@ -342,7 +342,7 @@ void MachineFunction::print(raw_ostream &OS) const {
|
||||
else
|
||||
OS << "%physreg" << *I;
|
||||
|
||||
if (next(I) != E)
|
||||
if (llvm::next(I) != E)
|
||||
OS << " ";
|
||||
}
|
||||
OS << '\n';
|
||||
|
Reference in New Issue
Block a user