Patch to fix a crash when using gnu's ?: with Objective-C++'s dictionary subscripting

jahanian fjahanian at apple.com
Thu May 16 17:11:04 PDT 2013


Attached patch fixes a sema crash when gnu’s ?: extension is used for Objective-C++’s dictionary subscripting.
This is done by essentially allowing application of unary conversion on the common expression when
its type is pseudo-object type. (common expression is ObjCSubscriptRefExpr with the
pseudo-object type which is not suitable for the lhs expression of the conditional).
Please review. This is for // rdar://13749180

- Fariborz

	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130516/b9084e9f/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130516/b9084e9f/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130516/b9084e9f/attachment-0001.html>


More information about the cfe-commits mailing list