Merge "Reland "Enable sizeof-array-div warning""

This commit is contained in:
Chih-hung Hsieh
2022-12-01 02:00:58 +00:00
committed by Gerrit Code Review

View File

@@ -222,7 +222,6 @@ var (
// http://b/145211066
"-Wno-implicit-int-float-conversion",
// New warnings to be fixed after clang-r377782.
"-Wno-sizeof-array-div", // http://b/148815709
"-Wno-tautological-overlap-compare", // http://b/148815696
// New warnings to be fixed after clang-r383902.
"-Wno-deprecated-copy", // http://b/153746672
@@ -245,6 +244,8 @@ var (
}
noOverrideExternalGlobalCflags = []string{
// http://b/148815709
"-Wno-sizeof-array-div",
// http://b/197240255
"-Wno-unused-but-set-variable",
"-Wno-unused-but-set-parameter",