diff options
author | Sean Callanan <scallanan@apple.com> | 2011-12-01 04:31:46 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-12-01 04:31:46 +0000 |
commit | a5230ce303ef1a8da2339ce7bdbb14be23ecc2d0 (patch) | |
tree | 2005a050282003bf4fd71d8538a6f1988cef28d2 /lldb/scripts/clang.instantiate-complete-type.diff | |
parent | eaeaf6f906c7cd2196800a5195256ca6839825f9 (diff) | |
download | bcm5719-llvm-a5230ce303ef1a8da2339ce7bdbb14be23ecc2d0.tar.gz bcm5719-llvm-a5230ce303ef1a8da2339ce7bdbb14be23ecc2d0.zip |
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]
llvm-svn: 145567
Diffstat (limited to 'lldb/scripts/clang.instantiate-complete-type.diff')
-rw-r--r-- | lldb/scripts/clang.instantiate-complete-type.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/clang.instantiate-complete-type.diff b/lldb/scripts/clang.instantiate-complete-type.diff index 80934509598..fd25244e642 100644 --- a/lldb/scripts/clang.instantiate-complete-type.diff +++ b/lldb/scripts/clang.instantiate-complete-type.diff @@ -1,6 +1,6 @@ Index: lib/Sema/SemaTemplateInstantiate.cpp =================================================================== ---- lib/Sema/SemaTemplateInstantiate.cpp (revision 144982) +--- lib/Sema/SemaTemplateInstantiate.cpp (revision 145552) +++ lib/Sema/SemaTemplateInstantiate.cpp (working copy) @@ -1683,6 +1683,10 @@ TemplateSpecializationKind TSK, |