[PATCH] D88333: Correctly parse attributes on the declaration of an anonymous bit-field

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 05:33:37 PDT 2020


aaron.ballman added a comment.

In D88333#2296252 <https://reviews.llvm.org/D88333#2296252>, @rsmith wrote:

> I think we established rough consensus in CWG (at least, no one objected) that this is a grammar bug -- there's nothing for these attributes to appertain to, so they shouldn't be permitted. Unless CWG indicates it wants to change direction here I think we should continue to reject.

I agree -- are you okay if I change this around to drop support for the brace or init list for an anonymous bit-field as part of that consensus? If so, would you like me to ask Mike for a core issue # to track that change against?


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

https://reviews.llvm.org/D88333



More information about the cfe-commits mailing list