Skip to content

Commit

Permalink
[bazel] Port bf17016
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k committed Jan 15, 2025
1 parent ce30ee5 commit cea41e9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ cc_binary(

gentbl(
name = "diagnostic_defs_gen",
tbl_outs = [(
"-gen-clang-diags-defs -clang-component=%s" % c,
"include/clang/Basic/Diagnostic%sKinds.inc" % c,
) for c in [
tbl_outs = [out for c in [
"AST",
"Analysis",
"Comment",
Expand All @@ -60,6 +57,15 @@ gentbl(
"Refactoring",
"Sema",
"Serialization",
] for out in [
(
"-gen-clang-diags-defs -clang-component=%s" % c,
"include/clang/Basic/Diagnostic%sKinds.inc" % c,
),
(
"-gen-clang-diags-enums -clang-component=%s" % c,
"include/clang/Basic/Diagnostic%sEnums.inc" % c,
),
]] + [
(
"-gen-clang-diag-groups",
Expand Down

0 comments on commit cea41e9

Please sign in to comment.