[llvm] bb7ff13 - [gn] port 6c74fe9087
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 09:03:53 PDT 2025
Author: Nico Weber
Date: 2025-04-08T12:03:45-04:00
New Revision: bb7ff134dc9eb72707400f00fb874a6a9e47597d
URL: https://github.com/llvm/llvm-project/commit/bb7ff134dc9eb72707400f00fb874a6a9e47597d
DIFF: https://github.com/llvm/llvm-project/commit/bb7ff134dc9eb72707400f00fb874a6a9e47597d.diff
LOG: [gn] port 6c74fe9087
Added:
Modified:
llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
index dd3b18a0918af..ce34ffc865109 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
@@ -57,6 +57,14 @@ foreach(diag_group, diag_groups) {
]
td_file = "Diagnostic.td"
}
+
+ clang_tablegen("Diagnostic${diag_group}Interface") {
+ args = [
+ "-gen-clang-diags-iface",
+ "-clang-component=${diag_group}",
+ ]
+ td_file = "Diagnostic.td"
+ }
}
group("diags_tablegen") {
# DiagnosticGroups, DiagnosticIndexName, DiagnosticAllCompatIDs are
@@ -70,6 +78,7 @@ group("diags_tablegen") {
":Diagnostic${diag_group}Kinds",
":Diagnostic${diag_group}Enums",
":Diagnostic${diag_group}CompatIDs",
+ ":Diagnostic${diag_group}Interface",
]
}
}
More information about the llvm-commits
mailing list