llvm-project
cb50d78a - [C] static_assert in a for loop is not an extension (#151955)

Commit
36 days ago
[C] static_assert in a for loop is not an extension (#151955) The original wording can be squinted at to pretend this was always allowed. GCC squints at it that way, so we're doing the same and no longer issuing an extension diagnostic for use of static_assert in the condition-1 of a for loop in C. Fixes #149633
Author
Parents
Loading