[cfe-dev] [clang static analyzer] How can I analyze one single C file now?

Anna Zaks ganna at apple.com
Fri Sep 23 11:17:47 PDT 2011


Hi Liu,

Most likely, the analyzer does not find any issues in your input file. You can double verify that by checking if anything is reported in the plist file (you can examine it with a text editor). The default behavior is to create a plist file as well as print out the diagnostics on the screen.

Cheers,
Anna.


On Sep 23, 2011, at 10:44 AM, Liu wrote:

> Hi all
> 
> I run "clang --analyze a.c" just get a a.plist, no output in screen.
> How can I analyze one single C file? "clang --analyze FILE" used to be
> OK, but not for now:(
> 
> --Liu
> _______________________________________________
> 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