<div>-fsyntax-only checks syntax</div><div>--analyze runs the static analyzer</div><div><br></div><div><br><div class="gmail_quote">On Mon, Oct 29, 2012 at 2:18 PM, fiveight <span dir="ltr"><<a href="mailto:fiveight@tom.com" target="_blank">fiveight@tom.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All!<br>
<br>
        What's the difference between -fsyntax-only and --analyze option.<br>
<br>
        I want to use clang to process my code and prompt errors and warnings as many an possible, but not compile my code.<br>
<br>
        Which option should I use, -fsyntax-only or --analyze?<br>
<br>
        Thanks!<br>
<br>
<br>
        fiveight<br>
        <a href="mailto:fiveight@tom.com">fiveight@tom.com</a><br>
          2012-10-29<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>