Merge "Enable -Wsizeof-array-div for 3P code." into main

This commit is contained in:
Treehugger Robot
2023-09-01 17:35:53 +00:00
committed by Gerrit Code Review

View File

@@ -251,9 +251,6 @@ var (
noOverrideExternalGlobalCflags = []string{
// http://b/191699019
"-Wno-format-insufficient-args",
// http://b/296422292
// Usually signals a mistake and should be a hard error.
"-Wno-sizeof-array-div",
// http://b/296321145
// Indicates potential memory or stack corruption, so should be changed
// to a hard error. Currently triggered by some vendor code.