From 66f09ad0417c0e9f0c959023c1cdfcf2d881ad2e Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 8 Jun 2014 22:29:17 +0000 Subject: [C++11] Use 'nullptr'. llvm-svn: 210442 --- llvm/unittests/Support/CommandLineTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/unittests/Support/CommandLineTest.cpp') diff --git a/llvm/unittests/Support/CommandLineTest.cpp b/llvm/unittests/Support/CommandLineTest.cpp index b0f1eb1..b2d71ab 100644 --- a/llvm/unittests/Support/CommandLineTest.cpp +++ b/llvm/unittests/Support/CommandLineTest.cpp @@ -23,7 +23,7 @@ class TempEnvVar { TempEnvVar(const char *name, const char *value) : name(name) { const char *old_value = getenv(name); - EXPECT_EQ(NULL, old_value) << old_value; + EXPECT_EQ(nullptr, old_value) << old_value; #if HAVE_SETENV setenv(name, value, true); #else -- cgit v1.1