diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-06-08 22:29:17 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-06-08 22:29:17 +0000 |
commit | 66f09ad0417c0e9f0c959023c1cdfcf2d881ad2e (patch) | |
tree | b9db3c4a6ee223002b945659169ab39cdd9fd80d /llvm/unittests/Transforms/DebugIR/DebugIR.cpp | |
parent | 41181d140c99913f8c8d73791dd4babfcba8a73d (diff) | |
download | bcm5719-llvm-66f09ad0417c0e9f0c959023c1cdfcf2d881ad2e.tar.gz bcm5719-llvm-66f09ad0417c0e9f0c959023c1cdfcf2d881ad2e.zip |
[C++11] Use 'nullptr'.
llvm-svn: 210442
Diffstat (limited to 'llvm/unittests/Transforms/DebugIR/DebugIR.cpp')
-rw-r--r-- | llvm/unittests/Transforms/DebugIR/DebugIR.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp b/llvm/unittests/Transforms/DebugIR/DebugIR.cpp index 9b89c1593c7..49ea09f7c6d 100644 --- a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp +++ b/llvm/unittests/Transforms/DebugIR/DebugIR.cpp @@ -65,7 +65,7 @@ char * current_dir() { #if defined(LLVM_ON_WIN32) || defined(HAVE_GETCWD) // calling getcwd (or _getcwd() on windows) with a null buffer makes it // allocate a sufficiently sized buffer to store the current working dir. - return getcwd_impl(0, 0); + return getcwd_impl(nullptr, 0); #else return 0; #endif |