Revert "Enable -Wformat-insufficient-args globally"
This reverts commit bb55424e5582ea2a107a653da7af33dd51c0d2a3.
Reason for revert: b/272272172 - Breaking multiple builds on git_tm-qpr-dev-plus-aosp
Testing: https://android-build.googleplex.com/builds/abtd/run/L83100000959000587
Change-Id: I854e24735689b5a3b8373d3bc947d184338eedde
diff --git a/cc/config/global.go b/cc/config/global.go
index 488af45..05dc773 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -193,7 +193,6 @@
noOverrideGlobalCflags = []string{
"-Werror=bool-operation",
- "-Werror=format-insufficient-args",
"-Werror=implicit-int-float-conversion",
"-Werror=int-in-bool-context",
"-Werror=int-to-pointer-cast",
@@ -248,8 +247,6 @@
noOverride64GlobalCflags = []string{}
noOverrideExternalGlobalCflags = []string{
- // http://b/191699019
- "-Wno-format-insufficient-args",
"-Wno-sizeof-array-div",
"-Wno-unused-but-set-variable",
"-Wno-unused-but-set-parameter",
@@ -287,6 +284,9 @@
// http://b/239661264
"-Wno-deprecated-non-prototype",
+
+ // http://b/191699019
+ "-Wno-format-insufficient-args",
}
llvmNextExtraCommonGlobalCflags = []string{