From 4f0ce757aa2bc039bf143087fe586d9b587c5e5c Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 4 Dec 2018 23:07:05 -0800 Subject: [PATCH] Remove unneeded -Wno-constant-logical-operand flag Test: m checkbuild Change-Id: If1ec62b6d88b8260c9ec39e0d63a379e7ae573e9 --- cc/config/clang.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index 46d852880..0b2190c47 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -186,9 +186,6 @@ func init() { // compatibility. "-Wno-c++98-compat-extra-semi", - // Disable this warning until we can fix all instances where it fails. - "-Wno-constant-logical-operand", - // Disable this warning because we don't care about behavior with older compilers. "-Wno-return-std-move-in-c++11",