Re-enable tautological-unsigned-enum-zero-compare

Clang is smarter at producing this new warning now, producing far
fewer false positives. Re-enable the diagnostic for Android.

Test: build
Bug: 72331526
Change-Id: Ide827791c51587bceb977ae4116894a8cd620eb1
This commit is contained in:
Yi Kong
2019-09-01 14:11:01 -07:00
parent 7153b767a5
commit 8ca12bd837

View File

@@ -168,7 +168,6 @@ func init() {
// new warnings are fixed.
"-Wno-tautological-constant-compare",
"-Wno-tautological-type-limit-compare",
"-Wno-tautological-unsigned-enum-zero-compare",
// http://b/72330874 Disable -Wenum-compare until the instances detected by this new
// warning are fixed.