[cfe-dev] -fsyntax-only and --analyze

Nikola Smiljanic popizdeh at gmail.com
Sun Oct 28 23:08:48 PDT 2012


-fsyntax-only checks syntax
--analyze runs the static analyzer


On Mon, Oct 29, 2012 at 2:18 PM, fiveight <fiveight at tom.com> wrote:

> Hi All!
>
>         What's the difference between -fsyntax-only and --analyze option.
>
>         I want to use clang to process my code and prompt errors and
> warnings as many an possible, but not compile my code.
>
>         Which option should I use, -fsyntax-only or --analyze?
>
>         Thanks!
>
>
> fiveight
> fiveight at tom.com
> 2012-10-29
>
> _______________________________________________
> 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/20121029/2bd82187/attachment.html>


More information about the cfe-dev mailing list