From 8ca12bd8372ed6184030f971d44099aaec77c0d2 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Sun, 1 Sep 2019 14:11:01 -0700 Subject: [PATCH] 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 --- cc/config/clang.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index 064758467..4908cb73a 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -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.