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 | ee56c42168f6c4271593f6018c4409b6a5910302 (patch) | |
tree | cbc97623bf259278835c3cff3695d026a1c48d98 /unittests/VMCore/InstructionsTest.cpp | |
parent | 44c7486c6331cdc726057b35ca57f00b5936e261 (diff) | |
download | external_llvm-ee56c42168f6c4271593f6018c4409b6a5910302.zip external_llvm-ee56c42168f6c4271593f6018c4409b6a5910302.tar.gz external_llvm-ee56c42168f6c4271593f6018c4409b6a5910302.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 'unittests/VMCore/InstructionsTest.cpp')
-rw-r--r-- | unittests/VMCore/InstructionsTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/VMCore/InstructionsTest.cpp b/unittests/VMCore/InstructionsTest.cpp index c1baa74..c9fe2a1 100644 --- a/unittests/VMCore/InstructionsTest.cpp +++ b/unittests/VMCore/InstructionsTest.cpp @@ -59,9 +59,9 @@ TEST(InstructionsTest, BranchInst) { EXPECT_EQ(b0->getNumOperands(), 1U); EXPECT_NE(b0->op_begin(), b0->op_end()); - EXPECT_EQ(next(b0->op_begin()), b0->op_end()); + EXPECT_EQ(llvm::next(b0->op_begin()), b0->op_end()); - EXPECT_EQ(next(b0->op_begin()), b0->op_end()); + EXPECT_EQ(llvm::next(b0->op_begin()), b0->op_end()); const IntegerType* Int1 = IntegerType::get(C, 1); Constant* One = ConstantInt::get(Int1, 1, true); |