roll clang 146361:147225
BUG=107412
TEST=none
TBR=hans
Review URL: http://codereview.chromium.org/9007051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115755 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 8a147430..a8ec077 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1962,6 +1962,9 @@
# This (rightyfully) complains about 'override', which we use
# heavily.
'-Wno-c++11-extensions',
+ # TODO(thakis): Reenable this once clang stops complaining about
+ # %as in format strings.
+ '-Wno-format',
],
'cflags!': [
# Clang doesn't seem to know know this flag.
@@ -2294,11 +2297,11 @@
'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
- # Don't use -Wc++0x-extensions, which Xcode 4 enables by default
- # when buliding with clang. This warning is triggered when the
- # override keyword is used via the OVERRIDE macro from
- # base/compiler_specific.h.
- 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
+ # Don't use -Wc++0x-extensions, which Xcode 4 enables by default
+ # when buliding with clang. This warning is triggered when the
+ # override keyword is used via the OVERRIDE macro from
+ # base/compiler_specific.h.
+ 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'WARNING_CFLAGS': [