[cfe-commits] r119813 - in /cfe/trunk: lib/Sema/SemaExpr.cpp test/SemaCXX/builtin_objc_msgSend.cpp
jahanian
fjahanian at apple.com
Fri Nov 19 11:45:26 PST 2010
On Nov 19, 2010, at 10:53 AM, Douglas Gregor wrote:
>
> On Nov 19, 2010, at 10:16 AM, Fariborz Jahanian wrote:
>
>> Author: fjahanian
>> Date: Fri Nov 19 12:16:46 2010
>> New Revision: 119813
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=119813&view=rev
>> Log:
>> objc_msgSend is not a builtin type in non-objc mode.
>> Fixes //rdar://8686888
>>
>
> This feels a little hackish; could we instead mark this as an Objective-C-specific builtin, e.g., by extending Builtins.def? The best approach would be to have some kind of language flags for LIBBUILTIN/BUILTIN, as we do for language keywords, e.g.,
>
> LIBBUILTIN(objc_msgSend, "GGH.", "f", "objc/message.h", KEYOBJC)
Great idea. Filed // rdar://8689273
- Fariborz
>
>
> - Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101119/68f10a3d/attachment.html>
More information about the cfe-commits
mailing list