From d78c9576cafa6dd17aa0833bb9202549ebfc3739 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sun, 20 Apr 2014 00:31:37 +0000 Subject: Switch NULL to C++11 nullptr in source/Interpreter Patch by Robert Matusewicz llvm-svn: 206711 --- lldb/source/Interpreter/CommandObjectScript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Interpreter/CommandObjectScript.cpp') diff --git a/lldb/source/Interpreter/CommandObjectScript.cpp b/lldb/source/Interpreter/CommandObjectScript.cpp index aff507d9858..9c67e425330 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); -- cgit v1.2.3