[cfe-dev] Lookahead vs. Tentative Parsing

David Blaikie dblaikie at gmail.com
Tue Jul 5 22:00:02 PDT 2011

> 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?

> Well for now the ObjC case for messages comes first - so it won't pollute
> the C++0x lambda case until someone wants to add in Obj-C++ lambdas.
> That seems like a reasonable approach.

Great - thanks. (but perhaps John will get there before me - we'll see. I've
just been looking at it the last few days as an experiment/foray into the
Clang/LLVM codebase)

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

More information about the cfe-dev mailing list