[cfe-commits] [Patch] Add a warning for for loops with conditions that do not change
rtrieu at google.com
Mon Mar 26 16:45:07 CDT 2012
On Thu, Mar 22, 2012 at 4:20 PM, Richard Trieu <rtrieu at google.com> wrote:
> New patch for the for-loop warning.
> Both visitors are now EvaluatedExprVisitor
> The DeclExtractor, used on the conditional, works on a whitelist of Expr's
> instead of a blacklist.
> Fixed edge cases in the DeclMatcher with respect to LValueToRValue
> conversions. Some casts aren't directly on DeclRefExprs.
> Added variable names to the warning. Up to 4 variable names will be
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits