[cfe-dev] clang driver command line interface change

Ted Kremenek kremenek at apple.com
Tue Jan 20 17:12:10 PST 2009


Daniel's email was pretty clear, but just to reiterate this only  
applies when you use the 'clang' executable directly to run analyses.   
'scan-build' and 'ccc-analyzer' will do the right thing by default.

On Jan 20, 2009, at 3:21 PM, Daniel Dunbar wrote:

> Hi all,
>
> For those using the as-yet-unnamed clang static analyzer, I have
> change the command line interface so that it requires an explicit
> -analyze option. I updated the test cases but those using clang
> directly will need to pass '-analyze' (just as one would pass
> -fsyntax-only, -emit-llvm, etc.) to set the program action.
>
> The motivation & goal is to have clang take "explicit" arguments
> instead of inferring what to do; this is consistent with the idea that
> the clang executable is a backend tool and will almost always be being
> driven by some other tool.
>
> - Daniel
> _______________________________________________
> 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