summaryrefslogtreecommitdiff
path: root/lib/VMCore/AsmWriter.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
commitee56c42168f6c4271593f6018c4409b6a5910302 (patch)
treecbc97623bf259278835c3cff3695d026a1c48d98 /lib/VMCore/AsmWriter.cpp
parent44c7486c6331cdc726057b35ca57f00b5936e261 (diff)
downloadllvm-ee56c42168f6c4271593f6018c4409b6a5910302.tar.gz
llvm-ee56c42168f6c4271593f6018c4409b6a5910302.tar.bz2
llvm-ee56c42168f6c4271593f6018c4409b6a5910302.tar.xz
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/VMCore/AsmWriter.cpp')
-rw-r--r--lib/VMCore/AsmWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 682bac38fe..c925a7e339 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -228,7 +228,7 @@ void TypePrinting::CalcTypeName(const Type *Ty,
E = STy->element_end(); I != E; ++I) {
OS << ' ';
CalcTypeName(*I, TypeStack, OS);
- if (next(I) == STy->element_end())
+ if (llvm::next(I) == STy->element_end())
OS << ' ';
else
OS << ',';
@@ -245,7 +245,7 @@ void TypePrinting::CalcTypeName(const Type *Ty,
E = UTy->element_end(); I != E; ++I) {
OS << ' ';
CalcTypeName(*I, TypeStack, OS);
- if (next(I) == UTy->element_end())
+ if (llvm::next(I) == UTy->element_end())
OS << ' ';
else
OS << ',';