]> granicus.if.org Git - clang/commitdiff
After r150615, which tablegens the group of a diagnostic as an index into the *.inc...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 16 Mar 2012 19:31:34 +0000 (19:31 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 16 Mar 2012 19:31:34 +0000 (19:31 +0000)
files depend on all other diagnostic *.td files, because a diagnostic group can be introduced at any of the diagnostic
*.td files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152937 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Makefile

index e986339b2a56cc9c3efb670e6c8e418e4738c235..702afac1e6b91d458d948d0f7d0863ec3344186a 100644 (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, $@) $<