Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: build/common.gypi

Issue 9297028: roll clang 148039:148911 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/mac/objc_zombie.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 2000f9f27ffff629da1e21101acb3c87afd092de..9dd440a352e50162cfc39278dc5bae7e5bdb5dae 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1945,6 +1945,15 @@
# This (rightyfully) complains about 'override', which we use
# heavily.
'-Wno-c++11-extensions',
+
+ # Warns on switches on enums that cover all enum values but
+ # also contain a default: branch. Chrome is full of that.
+ '-Wno-covered-switch-default',
+
+ # TODO(thakis): Reenable once this no longer complains about
+ # Invalid() in gmocks's gmock-internal-utils.h
+ # http://crbug.com/111806
+ '-Wno-null-dereference',
],
'cflags!': [
# Clang doesn't seem to know know this flag.
@@ -2298,6 +2307,15 @@
# This (rightyfully) complains about 'override', which we use
# heavily.
'-Wno-c++11-extensions',
+
+ # Warns on switches on enums that cover all enum values but
+ # also contain a default: branch. Chrome is full of that.
+ '-Wno-covered-switch-default',
+
+ # TODO(thakis): Reenable once this no longer complains about
+ # Invalid() in gmock's gmock-internal-utils.h
+ # http://crbug.com/111806
+ '-Wno-null-dereference',
],
}],
['clang==1 and clang_use_chrome_plugins==1', {
« no previous file with comments | « no previous file | chrome/common/mac/objc_zombie.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698