Reduce warning spam from "unused-" flags in //external, //vendor, //hardware

Some clang unused-* warnings are not covered by "-Wno-unused". Add them
explicitly to avoid noise from these warnings, given that they don't
generally get fixed.

Test: Local clean builds.
Change-Id: I13f5089fd68f1a67a11be14fa41807688d803ba3
This commit is contained in:
Prashanth Swaminathan 2024-01-22 19:41:52 -08:00
parent 43f3b601e2
commit 13b063730a

View file

@ -351,7 +351,8 @@ var (
// enabling since it's a cosmetic issue. // enabling since it's a cosmetic issue.
"-Wno-bitwise-instead-of-logical", "-Wno-bitwise-instead-of-logical",
"-Wno-unused-but-set-variable", "-Wno-unused",
"-Wno-unused-parameter",
"-Wno-unused-but-set-parameter", "-Wno-unused-but-set-parameter",
"-Wno-unqualified-std-cast-call", "-Wno-unqualified-std-cast-call",
"-Wno-array-parameter", "-Wno-array-parameter",