Switch to clang-4579689.
Bug: 68397894
Test: http://go/clang-4523590-testing
Change-Id: Ief806250572fe2cc5f39b4c47ff74863acbbb26d
diff --git a/cc/config/clang.go b/cc/config/clang.go
index 302c68e..004840a 100644
--- a/cc/config/clang.go
+++ b/cc/config/clang.go
@@ -148,6 +148,19 @@
// fixed.
//"-Werror=null-dereference",
"-Werror=return-type",
+
+ // http://b/72331526 Disable -Wtautological-* until the instances detected by these
+ // new warnings are fixed.
+ "-Wno-error=tautological-constant-compare",
+
+ // http://b/72331524 Allow null pointer arithmetic until the instances detected by
+ // this new warning are fixed.
+ "-Wno-error=null-pointer-arithmetic",
+
+ // http://b/72330874 Disable -Wenum-compare until the instances detected by this new
+ // warning are fixed.
+ "-Wno-error=enum-compare",
+ "-Wno-error=enum-compare-switch",
}, " "))
}