Revert "Enable sizeof-array-div warning"
This reverts commit 5a06f330eda909321e33571a386408e8f26c442d.
Reason for revert: Breaks aosp_bramble-userdebug
https://android-build.googleplex.com/builds/submitted/9348502/aosp_bramble-userdebug/latest/view/logs/build_error.log
Change-Id: I4e360638dee2c2d620c814ccb1c752cef47c0d21
diff --git a/cc/config/global.go b/cc/config/global.go
index 19841fe..8047d8e 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -222,6 +222,7 @@
// 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
@@ -244,8 +245,6 @@
}
noOverrideExternalGlobalCflags = []string{
- // http://b/148815709
- "-Wno-sizeof-array-div",
// http://b/197240255
"-Wno-unused-but-set-variable",
"-Wno-unused-but-set-parameter",