Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Parse] Make -Wgcc-compat complain about for loop inits in C89 | George Burgess IV | 2018-06-28 | 1 | -0/+15 |
While clang allows declarations in for loop init statements in c89 and gnu89, gcc does not. So, we should probably warn if users care about gcc compatibility. Differential Revision: https://reviews.llvm.org/D47840 llvm-svn: 335927 |