[PATCH] D47840: Make -Wgcc-compat complain about declarations in for loop init statements

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 28 14:13:54 PDT 2018


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

> I'm not 100% thrilled that we're emitting two warnings about the same thing for slightly different reasons; alternatives welcome. :)

Me either, but given our policy that warning flags just filter out warnings, I'm not sure what other options we have.


Repository:
  rC Clang

https://reviews.llvm.org/D47840





More information about the cfe-commits mailing list