Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5b3d17f authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

Merge "Remove unused-but-set-{variable,parameter} from ClangUnknownCflags" am:...

Merge "Remove unused-but-set-{variable,parameter} from ClangUnknownCflags" am: 861441fa am: 910cf32f

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824620

Change-Id: I642c95426a532f93cfe52dcab2c199e7891ef1cc
parents 767274a6 910cf32f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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",