From a8d5a78d25dfaba25f606bb7a32f3f09837d5f9c Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Fri, 23 Aug 2024 05:51:16 +0000 Subject: [PATCH] Enable -Wsingle-bit-bitfield-constant-conversion ... after selectively disabling it in external. Bug: 243965903 Test: presubmit Change-Id: I4c0e436e2e5314f3b4a236c195651af1cb2a312d --- cc/config/global.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 0e8fff6a0..c83835712 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -287,8 +287,7 @@ var ( "-Wno-error=deprecated-builtins", // http://b/241601211 "-Wno-error=deprecated", // in external/googletest/googletest // New warnings to be fixed after clang-r475365 - "-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903 - "-Wno-error=enum-constexpr-conversion", // http://b/243964282 + "-Wno-error=enum-constexpr-conversion", // http://b/243964282 // New warnings to be fixed after clang-r522817 "-Wno-error=invalid-offsetof", "-Wno-error=thread-safety-reference-return",