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 | 3951b343e96b52f8707b65b40f1bbdcbcec17950 (patch) | |
| tree | cbc97623bf259278835c3cff3695d026a1c48d98 /lib/CodeGen/MachineInstr.cpp | |
| parent | 07c67fc5974e87f54fad1a77d77aa70871a2484f (diff) | |
| download | external_llvm-3951b343e96b52f8707b65b40f1bbdcbcec17950.zip external_llvm-3951b343e96b52f8707b65b40f1bbdcbcec17950.tar.gz external_llvm-3951b343e96b52f8707b65b40f1bbdcbcec17950.tar.bz2 | |
Prefix `next' iterator operation with `llvm::'.
Fixes potential ambiguity problems on VS 2010.
Patch by nobled!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
| -rw-r--r-- | lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index d43845c..446e461 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/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 << " "; } } |
