summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-08-02 06:00:15 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-08-02 06:00:15 +0000
commit40b31ad3ee520ad263387d8c0a8a9924bdeb9282 (patch)
treec852558e2b4d82c29d280317df525f5cfb1b807f /llvm/lib/CodeGen/MachineInstr.cpp
parent71c723da296f8252d04bb639005edf9c247fba90 (diff)
downloadbcm5719-llvm-40b31ad3ee520ad263387d8c0a8a9924bdeb9282.tar.gz
bcm5719-llvm-40b31ad3ee520ad263387d8c0a8a9924bdeb9282.zip
Prefix `next' iterator operation with `llvm::'.
Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index d43845c2657..446e461d546 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1338,7 +1338,7 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
for (mmo_iterator i = memoperands_begin(), e = memoperands_end();
i != e; ++i) {
OS << **i;
- if (next(i) != e)
+ if (llvm::next(i) != e)
OS << " ";
}
}
OpenPOWER on IntegriCloud