[PATCH] D39284: Allow conditions to be decomposed with structured bindings

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 11:42:29 PST 2017


rsmith added inline comments.


================
Comment at: test/Misc/warning-flags.c:19
 
 The list of warnings below should NEVER grow.  It should gradually shrink to 0.
 
----------------
lichray wrote:
> rsmith wrote:
> > Please read and respect this rule :)
> Do you know of some categories which can cover this kind of extensions?
Add a new warning flag for it. Maybe `-Wbinding-in-condition`?


Repository:
  rC Clang

https://reviews.llvm.org/D39284





More information about the cfe-commits mailing list