missing DiagnosticGroups.inc, clang can't build

Hi,

I've just update my llvm/clang source to revision 69348 today, then I
generate a project for visualstudio2008 by cmake with default option,
and try to build it, an error occur when compiling Warnings.cpp in
clang-cc, who trying to include "clang/Basic/DiagnosticGroups.inc".

I found that there is nether "DiagnosticGroups.inc" in the source tree
on my computer, nor in http://llvm.org/svn/llvm-project/cfe/trunk/.

How can I get the DiagnosticGroups.inc?
There is a "DiagnosticGroups.td", is this file for generating
DiagnosticGroups.inc by something like tblgen with some setting to
cmake?

thanks very much.

Ah, the VC++ project files and cmake probably don't know how to run tblgen to build this. Help? :slight_smile:

-Chris

Chris Lattner wrote:

groups.patch (547 Bytes)

thank you very much, the patch seem to work, but the “ALL_BUILD” project in VisualStudio dose not start the project “ClangDiagnosticGroups”, I have to start it manually.

ether zhhb wrote:

thank you very much, the patch seem to work, but the "ALL_BUILD"
project in VisualStudio dose not start the project
"ClangDiagnosticGroups", I have to start it manually.

Sorry, I don't know how to fix that one. I pretty much copied what was
there for the other .inc files, and I must have missed that.

Sebastian