[C++11] Use 'nullptr'.
[oota-llvm.git] / unittests / IR / PassManagerTest.cpp
index 310e48fc3b8e3f69d0fc72218888fe99e7f3e933..25037a773cfc3d78608aa19b243923b569eaefc1 100644 (file)
@@ -168,7 +168,7 @@ struct TestInvalidationFunctionPass {
 Module *parseIR(const char *IR) {
   LLVMContext &C = getGlobalContext();
   SMDiagnostic Err;
-  return ParseAssemblyString(IR, 0, Err, C);
+  return ParseAssemblyString(IR, nullptr, Err, C);
 }
 
 class PassManagerTest : public ::testing::Test {