Merge "Revert "Revert "Enable -Wformat-insufficient-args globally""" am: add695f784

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

Change-Id: I4740c1623afde3eb67e56d503d22b8dcc5c29f20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Zijun Zhao 2023-03-09 08:25:13 +00:00 committed by Automerger Merge Worker
commit 8991ae255f

View file

@ -193,6 +193,7 @@ var (
noOverrideGlobalCflags = []string{
"-Werror=bool-operation",
"-Werror=format-insufficient-args",
"-Werror=implicit-int-float-conversion",
"-Werror=int-in-bool-context",
"-Werror=int-to-pointer-cast",
@ -247,6 +248,8 @@ var (
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",
@ -284,9 +287,6 @@ var (
// http://b/239661264
"-Wno-deprecated-non-prototype",
// http://b/191699019
"-Wno-format-insufficient-args",
}
llvmNextExtraCommonGlobalCflags = []string{