diff options
author | Ed Maste <emaste@freebsd.org> | 2014-04-20 00:31:37 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-04-20 00:31:37 +0000 |
commit | d78c9576cafa6dd17aa0833bb9202549ebfc3739 (patch) | |
tree | dcff23687e41500db1ff39ee63c133fdc90d4e2a /lldb/source/Interpreter/CommandReturnObject.cpp | |
parent | 9844434151574f48a61be3f7ef879b750b1a09cb (diff) | |
download | bcm5719-llvm-d78c9576cafa6dd17aa0833bb9202549ebfc3739.tar.gz bcm5719-llvm-d78c9576cafa6dd17aa0833bb9202549ebfc3739.zip |
Switch NULL to C++11 nullptr in source/Interpreter
Patch by Robert Matusewicz
llvm-svn: 206711
Diffstat (limited to 'lldb/source/Interpreter/CommandReturnObject.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandReturnObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandReturnObject.cpp b/lldb/source/Interpreter/CommandReturnObject.cpp index 9c63753a23f..af9196f2894 100644 --- a/lldb/source/Interpreter/CommandReturnObject.cpp +++ b/lldb/source/Interpreter/CommandReturnObject.cpp @@ -141,7 +141,7 @@ void CommandReturnObject::SetError (const Error &error, const char *fallback_error_cstr) { const char *error_cstr = error.AsCString(); - if (error_cstr == NULL) + if (error_cstr == nullptr) error_cstr = fallback_error_cstr; SetError(error_cstr); } |