commit | 3951b343e96b52f8707b65b40f1bbdcbcec17950 | [log] [tgz] |
---|---|---|
author | Oscar Fuentes <ofv@wanadoo.es> | Mon Aug 02 06:00:15 2010 +0000 |
committer | Oscar Fuentes <ofv@wanadoo.es> | Mon Aug 02 06:00:15 2010 +0000 |
tree | cbc97623bf259278835c3cff3695d026a1c48d98 | |
parent | 07c67fc5974e87f54fad1a77d77aa70871a2484f [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1dce55f..65f5edc 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5898,7 +5898,7 @@ for (MachineSDNode::mmo_iterator i = MN->memoperands_begin(), e = MN->memoperands_end(); i != e; ++i) { OS << **i; - if (next(i) != e) + if (llvm::next(i) != e) OS << " "; } OS << ">";