Remove unused-but-set-{variable,parameter} from ClangUnknownCflags

These warnings are now implemented by Clang.

Change-Id: I78d04216da0ca3d1db616c7b658ca6075b20e7f6
Test: presubmit
Bug: 197230471
This commit is contained in:
Yi Kong 2021-09-13 06:25:35 +00:00
parent 07e7294a75
commit a1ebc2d072

View file

@ -31,23 +31,15 @@ var ClangUnknownCflags = sorted([]string{
"-fno-tree-sra",
"-fprefetch-loop-arrays",
"-funswitch-loops",
"-Werror=unused-but-set-parameter",
"-Werror=unused-but-set-variable",
"-Wmaybe-uninitialized",
"-Wno-error=clobbered",
"-Wno-error=maybe-uninitialized",
"-Wno-error=unused-but-set-parameter",
"-Wno-error=unused-but-set-variable",
"-Wno-extended-offsetof",
"-Wno-free-nonheap-object",
"-Wno-literal-suffix",
"-Wno-maybe-uninitialized",
"-Wno-old-style-declaration",
"-Wno-unused-but-set-parameter",
"-Wno-unused-but-set-variable",
"-Wno-unused-local-typedefs",
"-Wunused-but-set-parameter",
"-Wunused-but-set-variable",
"-fdiagnostics-color",
// http://b/153759688
"-fuse-init-array",