[PATCH] -Wcomma, a new warning for questionable uses of the comma operator

Richard Trieu rtrieu at google.com
Thu Sep 18 18:20:29 PDT 2014


Removed the false positives by disabling this warning for the increment expression of a for-loop and in template instantiations.  Further testing showed that shrinking the whitelist caught mainly more harmless uses of the comma operator.

http://reviews.llvm.org/D3976






More information about the cfe-commits mailing list