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

Commit add695f7 authored by Zijun Zhao's avatar Zijun Zhao Committed by Gerrit Code Review
Browse files

Merge "Revert "Revert "Enable -Wformat-insufficient-args globally"""

parents ae3e4cc2 d1569088
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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{