llvm-project/lldb
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
..
docs When unwinding from the first frame, try to ask the remote debugserver 2011-12-13 05:39:38 +00:00
examples Add an example customization directory which uses a binutils.py module to provide 2011-10-28 23:30:28 +00:00
include The "desired result type" code in the expression 2011-12-21 22:22:58 +00:00
lib libEnhancedDisassembly.a is gone from recent LLVM. 2011-12-08 10:43:04 +00:00
lldb.xcodeproj I accidentally committed some changes to the 2011-12-21 21:30:33 +00:00
lldb.xcworkspace I accidentally committed some changes to the 2011-12-21 21:30:33 +00:00
resources Updating Xcode project version numbers for lldb-99 and debugserver-158 2011-12-21 18:02:24 +00:00
scripts The "desired result type" code in the expression 2011-12-21 22:22:58 +00:00
source The "desired result type" code in the expression 2011-12-21 22:22:58 +00:00
test The "desired result type" code in the expression 2011-12-21 22:22:58 +00:00
tools Updating Xcode project version numbers for lldb-99 and debugserver-158 2011-12-21 18:02:24 +00:00
utils Add a utility script: 2011-11-04 01:05:29 +00:00
www 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
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile build/Make: Tweak Clang include paths to use LLVM_{SRC,OBJ}_ROOT instead of 2011-11-11 23:36:19 +00:00