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

Unified Diff: build/common.gypi

Issue 8247005: roll clang 140930:142072 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no-c++11-extensions Created 9 years, 2 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 | « DEPS ('k') | tools/clang/plugins/ChromeClassTester.cpp » ('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 258165604866fd230e79010b3b0532c7bb3a7849..3587b4a09180f47d846613f5374ccd88af24688f 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1839,6 +1839,12 @@
# removed when we change to that. (This is also why we don't
# bother fixing all these cases today.)
'-Wno-unnamed-type-template-args',
+ # WebKit uses nullptr in a legit way, other that that this warning
+ # doesn't fire.
+ '-Wno-c++11-compat',
+ # This (rightyfully) complains about 'override', which we use
+ # heavily.
+ '-Wno-c++11-extensions',
],
'cflags!': [
# Clang doesn't seem to know know this flag.
@@ -2184,16 +2190,19 @@
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'WARNING_CFLAGS': [
'-Wheader-hygiene',
-
# Don't die on dtoa code that uses a char as an array index.
# This is required solely for base/third_party/dmg_fp/dtoa.cc.
'-Wno-char-subscripts',
-
# Clang spots more unused functions.
'-Wno-unused-function',
-
# See comments on this flag higher up in this file.
'-Wno-unnamed-type-template-args',
+ # WebKit uses nullptr in a legit way, other that that this
+ # warning doesn't fire.
+ '-Wno-c++0x-compat',
+ # This (rightyfully) complains about 'override', which we use
+ # heavily.
+ '-Wno-c++11-extensions',
],
}],
['clang==1 and clang_use_chrome_plugins==1', {
« no previous file with comments | « DEPS ('k') | tools/clang/plugins/ChromeClassTester.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698