[PATCH] Fix PR21684 - Ellipsis at end of generic lambda parameter-declaration-clause should be parsed as a parameter pack

Faisal Vali faisalv at gmail.com
Wed Dec 3 20:46:47 PST 2014

Hi rsmith,

See reddit post for some additional context: http://www.reddit.com/r/cpp/comments/2nkcvi/generic_lambda_inconsistency/

An ellipsis following an auto should always be parsed as a parameter pack, not as a c-variadic.
  [](auto ...) { }();  // OK.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6520.16907.patch
Type: text/x-patch
Size: 3492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141204/cb285e39/attachment.bin>

More information about the cfe-commits mailing list