[cfe-dev] Excluding particular checks

Ted Kremenek kremenek at apple.com
Mon Jun 15 11:56:09 PDT 2009


Hi John,

The short answer to your question is "not yet".  The interface for  
enabling/disabling specific checks is fairly primordial at this  
point.  The flags you mention should not be considered sacred.  In the  
future I plan to add fine-grained flags to enable/disable specific  
checks.

Ted

On Jun 15, 2009, at 11:46 AM, John Smith wrote:

> hi,
>
>
> I was just wondering if it is possible to exclude certain types of
> checks (like for example, "Value stored to 'foo is never read") by
> passing command line switches to scan-build ? I looked at the output
> of 'scan-build --help', but that only lists a few:
>
> (+) -checker-cfref                       - Run the [Core] Foundation
> reference count checker
> (+) -warn-dead-stores                    - Warn about stores to dead  
> variables
> (+) -warn-objc-methodsigs                - Warn about Objective-C
> method signatures with type incompatibilities
>     -warn-objc-missing-dealloc           - Warn about Objective-C
> classes that lack a correct implementation of -dealloc
> (+) -warn-objc-unused-ivars              - Warn about private ivars
> that are never used
>
>
> Are there any more warnings I can turn on/off, and where would that be
> documented ?
>
>
> Thanks,
>
>
> Regards,
>
>
> John Smith.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list