<div dir="ltr">Hi, I hope this is an easy question. I've been stuck with this for longer than I care to admit, so I appreciate any help! I've been trying to setup a new C++ project for myself, using all of the clang static analysis tools from the start. I was able to integrate clang-format and clang-check into my workflow no problem, but I'm unable to figure out how to compile the extra tools along-side with my llvm installation.<div><br></div><div>I followed the steps verbatim from:<br><a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a></div><div><br></div><div>Specifically the step asking us to checkout the extra repository, and then build the whole project.</div><div><br></div><div><div> benjamin@benjamin-HP-Compaq-8200-Elite-SFF-PC  ~/github/build-llvm  pwd</div><div>/home/benjamin/github/build-llvm</div></div><div><br></div><div>cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../llvm/<br></div><div><br></div><div>This works find, produces a release build of the clang compiler. However, the clang extra tools (such as clang-tidy) are not found in the bin directory. I noticed that clang-tidy came with a python script to run it, which I did, which failed because (I believe) clang-apply-replacements isn't in my path.</div><div><br></div><div>So I went and looked for clang-apply-replacements, and I couldn't find a python script fronting that, so I figure I need to understand why my clang-apply-replacements binary isn't being compiled when I build llvm/clang.</div><div><br></div><div>Here's the directory structure of my llvm directory, if that's at all helpful:</div><div><a href="http://pastebin.com/xBBpAKUn">http://pastebin.com/xBBpAKUn</a><br></div><div><br></div><div>Thanks in advance, I'm super excited about using these tools but the documentation around installing the extra tools is missing a bit of hand-holding I believe. I could be wrong, thanks in advance!!</div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Adamson, Benjamin<br><a href="mailto:adamson.benjamin@gmail.com" target="_blank">adamson.benjamin@gmail.com</a></div></div>
</div></div>