[cfe-dev] HowToAnalyzeTheCXXProject

redder_0210 redder_0210 at yeah.net
Tue Mar 12 00:49:36 PDT 2013


Dear All,
When I run the command "scan-build make", it will report the error message:
scan-build: Exectuable 'c++ analyzer' does not exist at '$SOMEPATH/clang/tools/scan-build/c++-analyzer';

I am confused with the error message. what should I do to overcome the error?





At 2013-03-12 02:00:03,"Anna Zaks" <ganna at apple.com> wrote:

Hi,


Are you asking about the clang static analyzer?


The scan-build utility can be used to analyze a project from command line. The clang static analyzer is also integrated within Xcode IDE. See the UserManual at http://clang-analyzer.llvm.org for more details.


Cheers,
Anna.

On Mar 11, 2013, at 7:07 AM, redder_0210 <redder_0210 at yeah.net> wrote:


Dear all,
  I have a C++ project, which contains some head files(.h) and several source files(.cpp).
  Now I want to anlyze the project through Clang. What is the command to do the analysis?
 Thanks!


_______________________________________________
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/20130312/3f8bed71/attachment.html>


More information about the cfe-dev mailing list