[cfe-dev] Lookahead vs. Tentative Parsing
David Blaikie
dblaikie at gmail.com
Tue Jul 5 21:41:54 PDT 2011
>
> Objective-C++ exists and is important to a lot of our developers; any
> implementation of lambdas in Clang will eventually need to handle both.
>
Ah, Ok then. Though I assume lambdas aren't a high priority for Apple at the
moment, given the presence of Blocks. Is that the case? That's why I thought
I'd start looking at it myself as it seems like a feature the wider
community might have more interest/motivation to work on than the Apple
folks.
(I at least assume that a solution similar to the one I outlined wouldn't
make it terribly inconvenient to improve later to allow for ObjC++ lambdas)
I suppose the question is whether "getLang().CPlusPlus0x" is true for
Objective-C++, or only actual C++0x? 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110705/cd6f5905/attachment.html>
More information about the cfe-dev
mailing list