<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It looks to me like you are mismatching your sources. You have clang 3.9, but a much more recent clang-tools-extra checkout. The missing header was added in January, so it is not present in the 3.9 release.<div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 18, 2017, at 3:30 AM, Patrik Eklöf via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Dear community,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Are there any instructions specifically on how to build clang-tidy? I’ve downloaded LLVM, Clang and Clang Extras, run cmake, but can’t get clang-tidy to build. I’ve put clang extras in tools\clang\tools\extra, and run cmake with the command:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">cmake -G "Visual Studio 15 Win64" ..<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Everything up to this point is fine. Clang builds and runs just fine. But when I try to compile clang-tidy, I get this error:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Cannot open include file: 'clang/Tooling/Core/Diagnostic.h': No such file or directory (tools\clang\tools\extra\clang-tidy\ClangTidyDiagnosticConsumer.h)<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Searching, I can’t find this file or this Core directory. My clang version is version 3.9.0 (tags/RELEASE_390/final).<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Any ideas why it doesn’t compile?<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="border-style: none none solid; border-bottom-width: 1pt; border-bottom-color: windowtext; padding: 0cm 0cm 1pt;" class=""><p class="MsoNormal" style="margin: 12pt 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; break-after: avoid-page; border: none; padding: 0cm;"><a name="_Toc454264584" class=""><span style="font-size: 16pt; color: rgb(165, 165, 165);" class="">Regards,<br class="">Patrik Eklöf</span></a><span class=""></span><span style="font-size: 16pt; font-family: 'Calibri Light', sans-serif; color: rgb(165, 165, 165);" class=""><o:p class=""></o:p></span></p></div><table class="MsoTableGrid" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: none;"><tbody class=""><tr class=""><td width="302" valign="top" style="width: 226.55pt; padding: 0cm 5.4pt;" class=""><p class="MsoNormal" style="margin: 0cm 0cm 10pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 17.600000381469727px;"><b class=""><span lang="EN-GB" style="font-size: 8.5pt; line-height: 13.600000381469727px; font-family: Arial, sans-serif; color: rgb(42, 42, 42);" class="">Patrik Eklöf</span></b><span lang="EN-GB" class=""><br class=""></span><span lang="EN-GB" style="font-size: 8.5pt; line-height: 13.600000381469727px; font-family: Arial, sans-serif; color: rgb(42, 42, 42);" class="">Programmer</span><span lang="EN-GB" class=""><br class=""></span><b class=""><span lang="EN-GB" style="font-size: 8.5pt; line-height: 13.600000381469727px; font-family: Arial, sans-serif; color: rgb(42, 42, 42);" class="">Tel.</span></b><span lang="EN-GB" style="font-size: 8.5pt; line-height: 13.600000381469727px; font-family: Arial, sans-serif; color: rgb(42, 42, 42);" class=""> +46 720 514 440</span><span lang="EN-GB" class=""><br class=""></span><u class=""><span lang="EN-GB" style="font-size: 8.5pt; line-height: 13.600000381469727px; font-family: Arial, sans-serif; color: rgb(0, 176, 80);" class=""><a href="mailto:patrik.eklof@vmssoftware.com" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span style="color: blue;" class="">patrik.eklof@vmssoftware.com</span></a></span></u><span lang="EN-GB" style="color: rgb(42, 42, 42);" class=""><o:p class=""></o:p></span></p></td><td width="302" valign="top" style="width: 226.55pt; padding: 0cm 5.4pt;" class=""><p class="MsoNormal" style="margin: 0cm 0cm 10pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866666793823242px;"><br class=""><span style="font-size: 8.5pt; line-height: 13.033332824707031px; font-family: 'Arial,'; color: rgb(42, 42, 42);" class="">Skeppsgatan 19, SE-211 11 Malmö Sweden</span><br class=""><u class=""><span lang="EN-GB" style="font-size: 8.5pt; line-height: 13.033332824707031px; font-family: Arial, sans-serif; color: rgb(0, 176, 80);" class=""><a href="http://vmssoftware.com/" style="color: rgb(149, 79, 114); text-decoration: underline;" class=""><span lang="SV" style="color: blue;" class="">http://vmssoftware.com/</span></a></span></u><span style="font-size: 8.5pt; line-height: 13.033332824707031px; font-family: Arial, sans-serif; color: rgb(42, 42, 42);" class=""><o:p class=""></o:p></span></p></td></tr></tbody></table><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">cfe-dev mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:cfe-dev@lists.llvm.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">cfe-dev@lists.llvm.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a></div></blockquote></div><br class=""></div></body></html>