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

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 18:58:45 PST 2017


lichray marked an inline comment as done.
lichray 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.
 
----------------
rsmith wrote:
> 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`?
I wish it's still alive after Clang 6.0 released :)


Repository:
  rC Clang

https://reviews.llvm.org/D39284





More information about the cfe-commits mailing list