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/SelectionDAG/SelectionDAG.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/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1dce55f5a9c..65f5edca8ec 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5898,7 +5898,7 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const { 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 << ">"; |

