aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandObjectScript.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-04-20 00:31:37 +0000
committerEd Maste <emaste@freebsd.org>2014-04-20 00:31:37 +0000
commitd78c9576cafa6dd17aa0833bb9202549ebfc3739 (patch)
treedcff23687e41500db1ff39ee63c133fdc90d4e2a /lldb/source/Interpreter/CommandObjectScript.cpp
parent9844434151574f48a61be3f7ef879b750b1a09cb (diff)
downloadllvm-d78c9576cafa6dd17aa0833bb9202549ebfc3739.zip
llvm-d78c9576cafa6dd17aa0833bb9202549ebfc3739.tar.gz
llvm-d78c9576cafa6dd17aa0833bb9202549ebfc3739.tar.bz2
Switch NULL to C++11 nullptr in source/Interpreter
Patch by Robert Matusewicz llvm-svn: 206711
Diffstat (limited to 'lldb/source/Interpreter/CommandObjectScript.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObjectScript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandObjectScript.cpp b/lldb/source/Interpreter/CommandObjectScript.cpp
index aff507d..9c67e42 100644
--- a/lldb/source/Interpreter/CommandObjectScript.cpp
+++ b/lldb/source/Interpreter/CommandObjectScript.cpp
@@ -66,7 +66,7 @@ CommandObjectScript::DoExecute
ScriptInterpreter *script_interpreter = m_interpreter.GetScriptInterpreter ();
- if (script_interpreter == NULL)
+ if (script_interpreter == nullptr)
{
result.AppendError("no script interpreter");
result.SetStatus (eReturnStatusFailed);
@@ -75,7 +75,7 @@ CommandObjectScript::DoExecute
DataVisualization::ForceUpdate(); // script might change Python code we use for formatting.. make sure we keep up to date with it
- if (command == NULL || command[0] == '\0')
+ if (command == nullptr || command[0] == '\0')
{
script_interpreter->ExecuteInterpreterLoop ();
result.SetStatus (eReturnStatusSuccessFinishNoResult);