<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Sep 10, 2015 at 12:04 PM David Chisnall <<a href="mailto:David.Chisnall@cl.cam.ac.uk">David.Chisnall@cl.cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10 Sep 2015, at 10:58, Manuel Klimek via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br>
><br>
> We have clang-tidy. Have you seen that? It allows to implement your own AST based checks, and comes with analyzer checks out of the box.<br>
<br>
It would help to have some easy-to-find information about where clang-tidy lives:<br>
<br>
The documentation (<a href="http://clang.llvm.org/extra/clang-tidy/" rel="noreferrer" target="_blank">http://clang.llvm.org/extra/clang-tidy/</a>) says that it’s in llvm/tools/clang/tools/extra, but tools/extra doesn’t exist in the cfe repository, so presumably needs to be checked out separately.  Digging around in the repo, I find that there’s a top-level clang-tools-extra directory that should presumably be checked out into llvm/tools/clang/tools as extra, but I can’t find anything telling me this explicitly.<br></blockquote><div><br></div><div><a href="http://clang.llvm.org/docs/ClangTools.html">http://clang.llvm.org/docs/ClangTools.html</a><br></div><div>covers that, although SEO is not good for that page... </div></div></div>