After r150615, which tablegens the group of a diagnostic as an index into the *.inc file, all diagnostic *.inc

files depend on all other diagnostic *.td files, because a diagnostic group can be introduced at any of the diagnostic
*.td files.

llvm-svn: 152937
This commit is contained in:
Argyrios Kyrtzidis
2012-03-16 19:31:34 +00:00
parent 2f809feec5
commit 7bfe2b5a4a

View File

@@ -30,7 +30,7 @@ else
CLANG_HAS_VERSION_PATCHLEVEL := 1
endif
$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td Diagnostic%Kinds.td $(CLANG_TBLGEN) $(ObjDir)/.dir
$(ObjDir)/Diagnostic%Kinds.inc.tmp : Diagnostic.td $(INPUT_TDS) $(CLANG_TBLGEN) $(ObjDir)/.dir
$(Echo) "Building Clang $(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) diagnostic tables with tblgen"
$(Verb) $(ClangTableGen) -gen-clang-diags-defs -clang-component=$(patsubst Diagnostic%Kinds.inc.tmp,%,$(@F)) -o $(call SYSPATH, $@) $<