On Mar 14, 2013, at 18:15 , Anna Zaks <[email protected]> wrote:

> +  AnalyzerOptions &Options =
> +  BRC.getBugReporter().getEngine().getAnalysisManager().options;
> +  if (!Options.shouldSuppressInlinedDefensiveChecks())
> +    return 0;

This doesn't need to be checked every time through. It might be easier to wrap 
up the creation of the visitor in a helper method (like trackNullOrUndef) that 
just doesn't attach it in the first place if suppressIDC is turned off.

Jordan
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to