[Lldb-commits] [lldb] r116357 - /lldb/trunk/source/Commands/CommandObjectCommands.cpp
Caroline Tice
ctice at apple.com
Tue Oct 12 15:46:01 PDT 2010
Author: ctice
Date: Tue Oct 12 17:46:01 2010
New Revision: 116357
URL: http://llvm.org/viewvc/llvm-project?rev=116357&view=rev
Log:
Comment out code that was preventing commands that take raw input strings
from being alias-able.
Modified:
lldb/trunk/source/Commands/CommandObjectCommands.cpp
Modified: lldb/trunk/source/Commands/CommandObjectCommands.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectCommands.cpp?rev=116357&r1=116356&r2=116357&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectCommands.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectCommands.cpp Tue Oct 12 17:46:01 2010
@@ -310,15 +310,15 @@
if (args.GetArgumentCount () > 0)
{
- if ((!use_subcommand && (cmd_obj->WantsRawCommandString()))
- || (use_subcommand && (sub_cmd_obj->WantsRawCommandString())))
- {
- result.AppendErrorWithFormat ("'%s' cannot be aliased with any options or arguments.\n",
- (use_subcommand ? sub_cmd_obj->GetCommandName()
- : cmd_obj->GetCommandName()));
- result.SetStatus (eReturnStatusFailed);
- return false;
- }
+ //if ((!use_subcommand && (cmd_obj->WantsRawCommandString()))
+ // || (use_subcommand && (sub_cmd_obj->WantsRawCommandString())))
+ //{
+ // result.AppendErrorWithFormat ("'%s' cannot be aliased with any options or arguments.\n",
+ // (use_subcommand ? sub_cmd_obj->GetCommandName()
+ // : cmd_obj->GetCommandName()));
+ // result.SetStatus (eReturnStatusFailed);
+ // return false;
+ //}
// options or arguments have been passed to the alias command, and must be
// verified & processed here.
More information about the lldb-commits
mailing list