summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cc/config/global.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/config/global.go b/cc/config/global.go
index ff5ab051e..fa92a33c5 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -101,6 +101,9 @@ var (
// Warnings from clang-12
"-Wno-gnu-folding-constant",
+ // http://b/145210666
+ "-Wno-error=reorder-init-list",
+
// Calls to the APIs that are newer than the min sdk version of the caller should be
// guarded with __builtin_available.
"-Wunguarded-availability",
@@ -218,8 +221,6 @@ var (
// new warnings are fixed.
"-Wno-tautological-constant-compare",
"-Wno-tautological-type-limit-compare",
- // http://b/145210666
- "-Wno-reorder-init-list",
// http://b/145211066
"-Wno-implicit-int-float-conversion",
// New warnings to be fixed after clang-r377782.