[PATCH] D95691: Implement P2173 for attributes on lambdas

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 3 14:41:10 PST 2021


rjmccall added a comment.

The patch seems technically okay to me.  Do we need to recognize lambdas in any tentative-parse situations, or is it always the reverse (e.g. recognizing ObjC message sends as not-a-lambda)?

The warning is a bit weird.  If we don't think it's certain that the committee will adopt this syntax, I don't think we should add this patch at all; it is not really acceptable to add it and then treat it as a Clang extension if the committee rejects it.  If we do think it's certain, we should go ahead and consider this a feature of the next major standard.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95691/new/

https://reviews.llvm.org/D95691



More information about the cfe-commits mailing list