diff options
| author | 2023-03-09 07:57:15 +0000 | |
|---|---|---|
| committer | 2023-03-09 07:57:15 +0000 | |
| commit | add695f7849dd8189b283dc3167f42e2f956003c (patch) | |
| tree | 359251004773bc798d9a37b1657fa2c976373464 | |
| parent | ae3e4cc2fd4e74e94510e671a98769ec428f6f39 (diff) | |
| parent | d156908820781e776fbfcc9af6e45047d0d01600 (diff) | |
Merge "Revert "Revert "Enable -Wformat-insufficient-args globally"""
| -rw-r--r-- | cc/config/global.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/config/global.go b/cc/config/global.go index 05dc77354..488af45c1 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -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{ |