From 4a7400be79cd0c358634f05e4b63aab3d7fe278d Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Thu, 6 Dec 2018 13:22:55 -0800 Subject: [PATCH] Revert "Revert "Remove unneeded -Wno-constant-logical-operand flag"" This reverts commit f993e7797dc5f1040e39ad9ca1bad27fa0ca66b8. Build breakage fixed. Test: m checkbuild --- cc/config/clang.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cc/config/clang.go b/cc/config/clang.go index 6996680d7..4862e05f5 100644 --- a/cc/config/clang.go +++ b/cc/config/clang.go @@ -184,9 +184,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", }, " "))