[C++11] Replace llvm::next and llvm::prior with std::next and std::prev.
[oota-llvm.git] / unittests / IR / InstructionsTest.cpp
index cbdf18c6468e2d863eb05d1f43bfc706cc82e9ef..962c07eea149f9af34113ab419e1c2ca8c37287f 100644 (file)
@@ -65,9 +65,9 @@ TEST(InstructionsTest, BranchInst) {
   EXPECT_EQ(1U, b0->getNumOperands());
 
   EXPECT_NE(b0->op_begin(), b0->op_end());
-  EXPECT_EQ(b0->op_end(), llvm::next(b0->op_begin()));
+  EXPECT_EQ(b0->op_end(), std::next(b0->op_begin()));
 
-  EXPECT_EQ(b0->op_end(), llvm::next(b0->op_begin()));
+  EXPECT_EQ(b0->op_end(), std::next(b0->op_begin()));
 
   IntegerType* Int1 = IntegerType::get(C, 1);
   Constant* One = ConstantInt::get(Int1, 1, true);