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

Rachel Craik rcraik at ca.ibm.com
Wed Apr 22 12:10:25 PDT 2015


In http://reviews.llvm.org/D9113#158676, @rsmith wrote:

> This seems much more likely to be a defect in C11 than a deliberate feature to me. Have you asked WG14 whether this was intentional?


I asked the question and the consensus seems to be that it should not be allowed. The relevant thread is www.open-std.org/JTC1/SC22/WG14/13677


http://reviews.llvm.org/D9113

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






More information about the cfe-commits mailing list