<br><br><div class="gmail_quote">On Thu, Jul 26, 2012 at 7:28 PM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On Jul 26, 2012, at 10:23 , David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br>
<br>
> While reading the "How To Setup Clang Tooling for LLVM" documentation<br>
> ( <a href="http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html" target="_blank">http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html</a> ) I ran<br>
> into a snag where the document implied that clang-check would be<br>
> installed alongside clang. This is currently not the case - we don't<br>
> install clang-check, at least not in the cmake build (&, given the<br>
> presence of "NO_INSTALL = 1" in the Makefile, I assume we don't in the<br>
> make build either).<br>
><br>
> Should we? It seems like a natural enough thing to install, though I<br>
> realize the specifics of which tools will be developed where and how<br>
> they'll be installed is still in flux, so I figured I'd start a thread<br>
> to discuss this rather than just committing it.<br>
><br>
> [as a side note: why do we install diagtool (perhaps there's some use<br>
> for it other than the internal diagnostic flag regression testing?)<br>
> and c-index-test (by name I would've thought that was just an internal<br>
> test binary)]<br>
<br>
</div></div>"diagtool tree" and "diagtool show-enabled" are at least theoretically useful externally, though we don't document them anywhere. I kind of figured things in tools/ are potentially useful outside of clang and could be installed, and things in utils/ were just for internal use. I don't think that was ever formally established, though.<br>

<br>
<br></blockquote><div>Is not diagtool used by the test Ted introduced to make sure clang does not regress in its list of warnings without flags ?<br><br>-- Matthieu <br></div></div>