hanchenye-llvm-project/lldb/source/Commands
Sean Callanan 20bb3aa53a The "desired result type" code in the expression
parser has hitherto been an implementation waiting
for a use.  I have now tied the '-o' option for
the expression command -- which indicates that the
result is an Objective-C object and needs to be
printed -- to the ExpressionParser, which
communicates the desired type to Clang.

Now, if the result of an expression is determined
by an Objective-C method call for which there is
no type information, that result is implicitly
cast to id if and only if the -o option is passed
to the expression command.  (Otherwise if there
is no explicit cast Clang will issue an error.
This behavior is identical to what happened before
r146756.)

Also added a testcase for -o enabled and disabled.

llvm-svn: 147099
2011-12-21 22:22:58 +00:00
..
CommandCompletions.cpp Added an API to SymbolContext to hide the complexity of getting the 2011-09-27 19:48:20 +00:00
CommandObjectApropos.cpp General cleanup on the UserSettingsController stuff. There were 5 different 2011-04-19 22:32:36 +00:00
CommandObjectApropos.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectArgs.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectArgs.h Added two new classes for command options: 2011-04-13 00:18:08 +00:00
CommandObjectBreakpoint.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectBreakpoint.h Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
CommandObjectBreakpointCommand.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectBreakpointCommand.h Change the command 'breakpoint command remove' to 'breakpoint command delete', 2011-05-22 07:14:46 +00:00
CommandObjectCommands.cpp Fix help strings that refer to the "commands" top-level noun. 2011-11-10 22:43:35 +00:00
CommandObjectCommands.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectCrossref.cpp Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectDisassemble.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectDisassemble.h disassemble with no arguments disassembles at the pc. Also got "disassemble -f" to work, that had gotten broken at some point in the past. 2011-09-01 01:11:04 +00:00
CommandObjectExpression.cpp The "desired result type" code in the expression 2011-12-21 22:22:58 +00:00
CommandObjectExpression.h Updated all commands that use a "--format" / "-f" options to use the new 2011-10-25 06:44:01 +00:00
CommandObjectFrame.cpp Added support for the new ".apple_objc" accelerator tables. These tables are 2011-10-27 17:55:14 +00:00
CommandObjectFrame.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectHelp.cpp Add an example customization directory which uses a binutils.py module to provide 2011-10-28 23:30:28 +00:00
CommandObjectHelp.h Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectLog.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectLog.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMemory.cpp <rdar://problem/10033754> 2011-11-22 18:07:35 +00:00
CommandObjectMemory.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectMultiword.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectPlatform.cpp Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This 2011-12-01 23:28:38 +00:00
CommandObjectPlatform.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectProcess.cpp <rdar://problem/10429064> 2011-11-29 04:03:30 +00:00
CommandObjectProcess.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectQuit.cpp Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectQuit.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectRegister.cpp Added support for the new ".apple_objc" accelerator tables. These tables are 2011-10-27 17:55:14 +00:00
CommandObjectRegister.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectSettings.cpp Moved many of the "settings" that used to be in "target.process.*" to just 2011-11-08 02:43:13 +00:00
CommandObjectSettings.h Added two new classes for command options: 2011-04-13 00:18:08 +00:00
CommandObjectSource.cpp Missing return in error handling for "source list". 2011-11-29 21:21:26 +00:00
CommandObjectSource.h Fix GetRepeatCommand so it works with multi-word commands. 2010-07-07 03:36:20 +00:00
CommandObjectSyntax.cpp Modify existing commands with arguments to use the new argument mechanism 2010-10-04 22:28:36 +00:00
CommandObjectSyntax.h Fixed the way set/show variables were being accessed to being natively 2010-09-18 01:14:36 +00:00
CommandObjectTarget.cpp Added a new class called lldb_private::SymbolFileType which is designed to 2011-12-08 02:13:16 +00:00
CommandObjectTarget.h Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
CommandObjectThread.cpp Add the ability to capture the return value in a thread's stop info, and print it 2011-12-17 01:35:57 +00:00
CommandObjectThread.h Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
CommandObjectType.cpp this patch addresses several issues with "command script" subcommands: 2011-11-07 22:57:04 +00:00
CommandObjectType.h Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
CommandObjectVersion.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
CommandObjectVersion.h Add a simple command: 'version' to the command interpreter, and an accompanying 2010-12-23 20:21:44 +00:00
CommandObjectWatchpoint.cpp Cleaned up many error codes. For any who is filling in error strings into 2011-10-26 00:56:27 +00:00
CommandObjectWatchpoint.h Add a commnad to set a condition for a watchpoint. Example: 2011-10-17 18:58:00 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00