diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2010-08-02 06:00:15 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-08-02 06:00:15 +0000 |
commit | 40b31ad3ee520ad263387d8c0a8a9924bdeb9282 (patch) | |
tree | c852558e2b4d82c29d280317df525f5cfb1b807f /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 71c723da296f8252d04bb639005edf9c247fba90 (diff) | |
download | bcm5719-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.cpp | 2 |
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 << " "; } } |