Reland "Enable sizeof-array-div warning"
This reverts commit 6be24baec49a4f126c10afa53886d9f062398a35.
Reason for revert: warnings fixed in source files
Change-Id: I223ff6343c41ac957485726a3de006a84b9369df
diff --git a/cc/config/global.go b/cc/config/global.go
index 8047d8e..19841fe 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -222,7 +222,6 @@
// 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 @@
}
noOverrideExternalGlobalCflags = []string{
+ // http://b/148815709
+ "-Wno-sizeof-array-div",
// http://b/197240255
"-Wno-unused-but-set-variable",
"-Wno-unused-but-set-parameter",