<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Jonathan,<br>
<br>
To use the scan-build you should get the contents of
clang\tools\scan-build from Clang sources as Jordan pointed out.<br>
Currently the scan-build script expects the clang executables
(clang.exe and clang++.exe) to live in ./clang or ./bin/clang
directory relative to directory with the scan-build stuff but you
can use the --use-analyzer=[Xcode|path to clang] scan-build option
to tell scan-build where your clang executables live.<br>
The last thing you should do is to add the path to scan-build to
your PATH and then you should be able to use scan-build as it
described in <a class="moz-txt-link-freetext" href="http://clang-analyzer.llvm.org/scan-build.html">http://clang-analyzer.llvm.org/scan-build.html</a>.<br>
Hope I've not missed something.<br>
Feel free to ask and point to problems.<br>
<br>
</div>
<blockquote
cite="mid:9182F71A-3252-4247-A542-9253912B8DBA@apple.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<base href="x-msg://2674/">
<div>No, cfe-dev is the appropriate list for questions. (Or
cfe-users, but to be honest we analyzer folks don't follow that
list much and you probably wouldn't have gotten an answer
there!)</div>
<div><br>
</div>
<div>scan-build is not installed with Clang or LLVM; I believe
when the analyzer project first began it wasn't clear if
everyone would want it as a part of their default install. You
can find the executables in tools\scan-build under your Clang
source directory (probably llvm\tools\clang.)</div>
<div><br>
</div>
<div>I've CC'd Anton Yartsev, who I know has been running
scan-build on Windows for some time. (Not sure which version,
though.)</div>
<div>Jordan</div>
<div><br>
</div>
<br>
<div>
<div>On Jun 3, 2013, at 14:13 , "Lockhart, Jonathan (lockhaja)"
<<a moz-do-not-send="true"
href="mailto:lockhaja@mail.uc.edu">lockhaja@mail.uc.edu</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div ocsi="0" fpstyle="1" style="font-family: Helvetica;
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; ">
<div style="direction: ltr; font-family: Tahoma; font-size:
10pt; ">Hello Clang Users and Developers,<br>
<br>
I apologize in advance if this is going to the wrong email
list, but I thought it would be inappropriate to send it
to the dev list.<span class="Apple-converted-space"> </span><br>
<br>
I am currently working on using Clang and LLVM in some
research I am doing. More specifically at this time I am
trying to use the Clang Static Analysis Tool. I have been
able to follow the instructions on the Static Analysis
Tool site as well as the LLVM page for compiling the code
with Cmake for use with Visual Studio, and I have
successfully built the system using "ALL_BUILD" as well as
have testing successfully clang by build "clang-test" in
visual studio.<span class="Apple-converted-space"> </span><br>
<br>
With that said I seem to be able to find the bin file from
which all the material from the system was installed.
Following the directions, I would believe it to be located
in the \bin directory under build but it is not there. I
have also search my llvm and build directories with no
mention of scan-build being found via inspection or
search.<span class="Apple-converted-space"> </span><br>
<br>
I was wondering if the instructions online were outdated
and a newer process for running the Clang Static Analyzer
was now used? Is the project even still active and worth
me using in the development of my C programs? Is there now
a way to use the tool from an IDE on the code you have
written, such as through Eclipse or Visual Studio?<br>
<br>
These are the questions I currently have as I am stuck
after building and testing via the instructions found
here:<a moz-do-not-send="true"
href="http://clang.llvm.org/get_started.html#build"
target="_blank">http://clang.llvm.org/get_started.html#build</a>.
Any assistance would be most appreciative.<br>
<br>
<div>Regards,<br>
<div style="font-family: Tahoma; font-size: 13px; ">
<div style="font-family: Tahoma; font-size: 13px; ">
<div style="font-family: Tahoma; font-size: 13px; ">Jon
Lockhart<br>
PhD Candidate - EE Systems<br>
IEEE Vice President 13/14<br>
University of Cincinnati<br>
<a moz-do-not-send="true"
href="mailto:lockhaja@mail.uc.edu">lockhaja@mail.uc.edu</a></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
cfe-commits mailing list<br>
<a moz-do-not-send="true"
href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Anton</pre>
</body>
</html>