Skip to content

Commit

Permalink
[build] Suppress a warning about templates
Browse files Browse the repository at this point in the history
llvm/llvm-project#80801 started
requiring template arg list after template keyword, which
caused issues in our codebase. This patch suppresses
that warning to fix the Clang toolchain canary builders.

Bug: 344080745
Change-Id: I328d05f3e504b8806dae417142a109504441bf66
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1058727
Reviewed-by: Haowei Wu <[email protected]>
Reviewed-by: Roland McGrath <[email protected]>
Commit-Queue: Gulfem Savrun Yeniceri <[email protected]>
Fuchsia-Auto-Submit: Gulfem Savrun Yeniceri <[email protected]>
Reviewed-by: Petr Hosek <[email protected]>
  • Loading branch information
gulfemsavrun authored and CQ Bot committed Jun 3, 2024
1 parent e850a54 commit 725cd5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/config/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,10 @@ config("default_warnings") {
"-Wno-cast-function-type-strict",
"-Wno-cast-function-type-mismatch",
"-Wno-unknown-warning-option",

# TODO(https://fxbug.dev/344080745): After the issue is fixed,
# remove "-Wno-missing-template-arg-list-after-template-kw".
"-Wno-missing-template-arg-list-after-template-kw",
]

cflags_cc = []
Expand Down

0 comments on commit 725cd5b

Please sign in to comment.