summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 19:00:30 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 19:00:30 +0000
commit241109b52c26585ba262e95f7f07fda23307cc27 (patch)
treed9864bdf4b32568849f8fbef978936b1ab4bf47a /build
parent0822d88ca6c5451ab3553cca1a603ebfc575dc40 (diff)
downloadchromium_src-241109b52c26585ba262e95f7f07fda23307cc27.zip
chromium_src-241109b52c26585ba262e95f7f07fda23307cc27.tar.gz
chromium_src-241109b52c26585ba262e95f7f07fda23307cc27.tar.bz2
roll clang 140930:142072
Also add a --run-tests parameter to update.sh The plugin change is required due to http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20111010/047769.html BUG=none TEST=none TBR=hans Review URL: http://codereview.chromium.org/8247005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi15
1 files changed, 12 insertions, 3 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 92c2da0..b3a40b82 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1841,6 +1841,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.
@@ -2186,16 +2192,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', {