summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-10-12 22:46:01 +0000
committerCaroline Tice <ctice@apple.com>2010-10-12 22:46:01 +0000
commit4239eadeee4817b7e1e42c0af1a91c5b0b152e17 (patch)
treee9d95ae2ebe5cc23f89dac4e1f664efeb1f53e3a /lldb/source/Commands/CommandObjectCommands.cpp
parent0924b412012e106758528d92511dd3132161e21b (diff)
downloadbcm5719-llvm-4239eadeee4817b7e1e42c0af1a91c5b0b152e17.tar.gz
bcm5719-llvm-4239eadeee4817b7e1e42c0af1a91c5b0b152e17.zip
Comment out code that was preventing commands that take raw input strings
from being alias-able. llvm-svn: 116357
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp
index 88f3aeb4b0c..349c3fc802c 100644
--- a/lldb/source/Commands/CommandObjectCommands.cpp
+++ b/lldb/source/Commands/CommandObjectCommands.cpp
@@ -310,15 +310,15 @@ public:
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.
OpenPOWER on IntegriCloud