Picked up a new revision of Clang to pull in Objective-C
enhancements. With these enhancements, the return values
of Objective-C methods with unknown return types can be
implicitly cast to id for the purpose of making method
calls.
So what would have required this:
(int)[(id)[ClassWithNoDebugInfo methodReturningObject] methodReturningInt]
can now be written as:
(int)[[ClassWithNoDebugInfo methodReturningObject] methodReturningInt]
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145567 91177308-0d34-0410-b5e6-96231b3b80d8
6 files changed