[cfe-dev] Building clang-tidy
Patrik Eklöf via cfe-dev
cfe-dev at lists.llvm.org
Tue Apr 18 11:47:05 PDT 2017
That was indeed the case.
I cannot believe I simply read the instructions, do this, do that, without considering that I was on a different branch.
Thank you for the answer. I appreciate it.
Regards,
Patrik Eklöf
Patrik Eklöf
Programmer
Tel. +46 720 514 440
patrik.eklof at vmssoftware.com <mailto:patrik.eklof at vmssoftware.com>
Skeppsgatan 19, SE-211 11 Malmö Sweden
<http://vmssoftware.com/> http://vmssoftware.com/
From: cbieneman at apple.com [mailto:cbieneman at apple.com] On Behalf Of Chris Bieneman
Sent: 18 April 2017 20:08
To: Patrik Eklöf <patrik.eklof at vmssoftware.com>
Cc: Clang Dev <cfe-dev at lists.llvm.org>
Subject: Re: [cfe-dev] Building clang-tidy
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.
-Chris
On Apr 18, 2017, at 3:30 AM, Patrik Eklöf via cfe-dev <cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org> > wrote:
Dear community,
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:
cmake -G "Visual Studio 15 Win64" ..
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:
Cannot open include file: 'clang/Tooling/Core/Diagnostic.h': No such file or directory (tools\clang\tools\extra\clang-tidy\ClangTidyDiagnosticConsumer.h)
Searching, I can’t find this file or this Core directory. My clang version is version 3.9.0 (tags/RELEASE_390/final).
Any ideas why it doesn’t compile?
Regards,
Patrik Eklöf
Patrik Eklöf
Programmer
Tel. +46 720 514 440
patrik.eklof at vmssoftware.com <mailto:patrik.eklof at vmssoftware.com>
Skeppsgatan 19, SE-211 11 Malmö Sweden
<http://vmssoftware.com/> http://vmssoftware.com/
_______________________________________________
cfe-dev mailing list
<mailto:cfe-dev at lists.llvm.org> cfe-dev at lists.llvm.org
<http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170418/8cd9d40f/attachment.html>
More information about the cfe-dev
mailing list