[PATCH] Allow C11 static assert declaration as clause-1 in for loops.

Richard Smith richard at metafoo.co.uk
Wed Apr 22 14:59:59 PDT 2015


Thanks, then I think we can put this on hold for now. We can revisit it if the C committee decide that they do in fact want to allow this. (I also agree with one of the comments there, that the current wording can be read as saying that this is not allowed because a `_Static_assert` declaration declares something other than an identifier.)


http://reviews.llvm.org/D9113

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list