[Lldb-commits] [lldb] r179691 - Removed the "expr" alias for "expression, " which

Sean Callanan scallanan at apple.com
Wed Apr 17 10:23:58 PDT 2013


Author: spyffe
Date: Wed Apr 17 12:23:58 2013
New Revision: 179691

URL: http://llvm.org/viewvc/llvm-project?rev=179691&view=rev
Log:
Removed the "expr" alias for "expression," which
is entirely unnecessary and confuses the command
interpreter when the user types "exp".

Modified:
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=179691&r1=179690&r2=179691&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Wed Apr 17 12:23:58 2013
@@ -282,9 +282,7 @@ CommandInterpreter::Initialize ()
     
     cmd_obj_sp = GetCommandSPExact ("expression", false);
     if (cmd_obj_sp)
-    {
-        AddAlias ("expr", cmd_obj_sp);
-        
+    {        
         ProcessAliasOptionsArgs (cmd_obj_sp, "--", alias_arguments_vector_sp);
         AddAlias ("p", cmd_obj_sp);
         AddAlias ("print", cmd_obj_sp);





More information about the lldb-commits mailing list