<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot Run Scan-Build from Windows Command Prompt"
   href="http://llvm.org/bugs/show_bug.cgi?id=16213">16213</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot Run Scan-Build from Windows Command Prompt
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>build-problem, documentation
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Documentation
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jal054@bucknell.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Following the instructions found here:
<a href="http://clang.llvm.org/get_started.html#build">http://clang.llvm.org/get_started.html#build</a>, for building LLVM and Clang in
Visual Studio, I have been unable to access the command scan-build as well as
find the command in either the llvm directory, the clang directory, or the
build directory. I have also looked in the bin folders in the llvm directory
and the build directory with no success. 

To run the Clang Static Analyzer, instructions here:
<a href="http://clang-analyzer.llvm.org/scan-build.html">http://clang-analyzer.llvm.org/scan-build.html</a>, you are supposed to just be
able to run it in your project directory, as long as it can be found in your
path. After building in Visual Studio 2012 (Visual Studio 11), I have been
unable to find any of the .exe files that should of been built. However the
clang-test build works with the regression tests running just fine, so I know
clang has been installed and must be operating from somewhere on the machine.

My question is this then, has the instructions for the operation of the Static
Analyzer included in clang changed since the website was last updated? If this
is the case, then what is the new necessary command from running the analyzer
from the Windows Command Prompt, as well as the flags? Is there a way to use
the Clang Static Analyzer from Visual Studio? From my nosing through the .txt
files from the build it appears the only install is clang and it goes to the
bin file, but I am unable to find this bin with these tools and executable
files in it after much searching.

Expansion and clarification of the documentation would be most appreciative. If
a solution or updated documentation has been provided, then a link to this
material would suffice and I can continue my work and using the static analysis
tool.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>