-fsyntax-only and --analyze

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

-fsyntax-only and --analyze

fiveight
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
        [hidden email]
          2012-10-29

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: -fsyntax-only and --analyze

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


On Mon, Oct 29, 2012 at 2:18 PM, fiveight <[hidden email]> 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
        [hidden email]
          2012-10-29

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev