Skip to content

Commit bb7ff13

Browse files
committed
[gn] port 6c74fe9
1 parent 84fde79 commit bb7ff13

File tree

1 file changed

+9
-0
lines changed
  • llvm/utils/gn/secondary/clang/include/clang/Basic

1 file changed

+9
-0
lines changed

llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ foreach(diag_group, diag_groups) {
5757
]
5858
td_file = "Diagnostic.td"
5959
}
60+
61+
clang_tablegen("Diagnostic${diag_group}Interface") {
62+
args = [
63+
"-gen-clang-diags-iface",
64+
"-clang-component=${diag_group}",
65+
]
66+
td_file = "Diagnostic.td"
67+
}
6068
}
6169
group("diags_tablegen") {
6270
# DiagnosticGroups, DiagnosticIndexName, DiagnosticAllCompatIDs are
@@ -70,6 +78,7 @@ group("diags_tablegen") {
7078
":Diagnostic${diag_group}Kinds",
7179
":Diagnostic${diag_group}Enums",
7280
":Diagnostic${diag_group}CompatIDs",
81+
":Diagnostic${diag_group}Interface",
7382
]
7483
}
7584
}

0 commit comments

Comments
 (0)