From 32558576aeb6e7704bd9c669435a6249893b65a5 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 1 Jul 2015 22:02:16 -0700 Subject: [PATCH] clang/win: Put back -Wno-logical-op-parentheses The world isn't ready for this yet. This partially reverts https://codereview.chromium.org/1215503015/ (see comments 8, 9 on the review). BUG=504699 TBR=sammc@chromium.org Review URL: https://codereview.chromium.org/1219153004. Cr-Commit-Position: refs/heads/master@{#337175} --- build/common.gypi | 1 + build/config/compiler/BUILD.gn | 1 + 2 files changed, 2 insertions(+) diff --git a/build/common.gypi b/build/common.gypi index 943f0c1f1883..4aea53222a54 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -5706,6 +5706,7 @@ '-Wno-incompatible-pointer-types', # http://crbug.com/504696 '-Wno-int-to-void-pointer-cast', # http://crbug.com/504697 '-Wno-invalid-noreturn', # http://crbug.com/504698 + '-Wno-logical-op-parentheses', # http://crbug.com/504699 '-Wno-microsoft', # http://crbug.com/505296 '-Wno-missing-braces', # http://crbug.com/505297 '-Wno-msvc-include', # http://crbug.com/505299 diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index d30547c3bf03..09a26a451401 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -805,6 +805,7 @@ if (is_win) { "-Wno-incompatible-pointer-types", # http://crbug.com/504696 "-Wno-int-to-void-pointer-cast", # http://crbug.com/504697 "-Wno-invalid-noreturn", # http://crbug.com/504698 + "-Wno-logical-op-parentheses", # http://crbug.com/504699 "-Wno-microsoft", # http://crbug.com/505296 "-Wno-missing-braces", # http://crbug.com/505297 "-Wno-msvc-include", # http://crbug.com/505299 -- 2.11.4.GIT