[cfe-dev] Lookahead vs. Tentative Parsing

Chris Lattner clattner at apple.com
Tue Jul 5 22:33:57 PDT 2011


On Jul 5, 2011, at 10:01 PM, John McCall wrote:

> On Jul 5, 2011, at 10:00 PM, David Blaikie wrote:
>>> I suppose the question is whether  "getLang().CPlusPlus0x" is true for Objective-C++, or only actual C++0x?
>> 
>> Objective-C (and its revisions and supplements) is orthogonal to C++.  We can and do support using the Objective-C extensions in code whose "base" standard is C++0x.
>> 
>> More formally, that is to say that getLang().CPlusPlus0x and getLang().ObjC can both be true at the same time?
> 
> Yes.

We even support the new ARC Objective-C feature in all modes as well, meaning that folks can write code in Objective-ARC++'0x if they so choose.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110705/9b6d8d3b/attachment.html>


More information about the cfe-dev mailing list