Skip to content

Commit cea41e9

Browse files
committed
[bazel] Port bf17016
1 parent ce30ee5 commit cea41e9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

utils/bazel/llvm-project-overlay/clang/BUILD.bazel

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ cc_binary(
4343

4444
gentbl(
4545
name = "diagnostic_defs_gen",
46-
tbl_outs = [(
47-
"-gen-clang-diags-defs -clang-component=%s" % c,
48-
"include/clang/Basic/Diagnostic%sKinds.inc" % c,
49-
) for c in [
46+
tbl_outs = [out for c in [
5047
"AST",
5148
"Analysis",
5249
"Comment",
@@ -60,6 +57,15 @@ gentbl(
6057
"Refactoring",
6158
"Sema",
6259
"Serialization",
60+
] for out in [
61+
(
62+
"-gen-clang-diags-defs -clang-component=%s" % c,
63+
"include/clang/Basic/Diagnostic%sKinds.inc" % c,
64+
),
65+
(
66+
"-gen-clang-diags-enums -clang-component=%s" % c,
67+
"include/clang/Basic/Diagnostic%sEnums.inc" % c,
68+
),
6369
]] + [
6470
(
6571
"-gen-clang-diag-groups",

0 commit comments

Comments
 (0)