[cfe-dev] Clang: Suppress static analysis of system header files

Anna Zaks ganna at apple.com
Fri Sep 28 00:03:17 PDT 2012


Hi Sujit,

Currently there is no such option. Since the static analyzer performs path sensitive checking, the underlining reason for an analyzer warning may not be at the line/file where the error is reported.

What is your use case for suppressing warnings in system/specified headers? Is there a particular warning you are trying to suppress?

Thanks,
Anna.
 
On Sep 27, 2012, at 5:14 AM, Sujit Kamthe wrote:

> Hi,
> Is there any flag or option which suppresses static analyzer warnings for system or specified header files.
>  
> Regards,
> Sujit Kamthe
>  
> <image001.jpg>
> Productivity & FE | Automotive and Engineering SBU | KPITCummins Infosystems Ltd|Board: +91 20 66525000 | Extn:3102 |Mobile:7709076120 
>  
> 
> This message contains information that may be privileged or confidential and is the property of the KPIT Cummins Infosystems Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins Infosystems Ltd. does not accept any liability for virus infected mails. _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120928/212c3ea5/attachment.html>


More information about the cfe-dev mailing list