roll clang 182481:184830
New stuff: - can parse gcc 4.7+ headers in gnu++11 mode - -Wheader-guards - -Wlogical-not-parentheses - Fixes http://llvm.org/PR15998 This is also the first time these binaries were built on precise (and as a consequence won't run on lucid). BUG=255201 R=hans@chromium.org Review URL: https://codereview.chromium.org/18124002 git-svn-id: http://src.chromium.org/svn/trunk/src/build@209703 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
5f0b7670bf
Коммит
51ba15ad81
10
common.gypi
10
common.gypi
|
@ -3129,6 +3129,11 @@
|
|||
# suffix. However, this is used heavily in NaCl code, so disable
|
||||
# the warning for now.
|
||||
'-Wno-reserved-user-defined-literal',
|
||||
|
||||
# Clang considers the `register` keyword as deprecated, but e.g.
|
||||
# code generated by flex (used in angle) contains that keyword.
|
||||
# http://crbug.com/255186
|
||||
'-Wno-deprecated-register',
|
||||
],
|
||||
'cflags_cc': [
|
||||
# See the comment in the Mac section for what it takes to move
|
||||
|
@ -3826,6 +3831,11 @@
|
|||
|
||||
# Warns when a const char[] is converted to bool.
|
||||
'-Wstring-conversion',
|
||||
|
||||
# Clang considers the `register` keyword as deprecated, but e.g.
|
||||
# code generated by flex (used in angle) contains that keyword.
|
||||
# http://crbug.com/255186
|
||||
'-Wno-deprecated-register',
|
||||
],
|
||||
'OTHER_CPLUSPLUSFLAGS': [
|
||||
# gnu++11 instead of c++11 is needed because some code uses
|
||||
|
|
|
@ -241,6 +241,15 @@
|
|||
],
|
||||
},
|
||||
}],
|
||||
['use_openssl==0 and clang==1', {
|
||||
'direct_dependent_settings': {
|
||||
'cflags': [
|
||||
# There is a broken header guard in /usr/include/nss/secmod.h:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=884072
|
||||
'-Wno-header-guard',
|
||||
],
|
||||
},
|
||||
}],
|
||||
]
|
||||
}],
|
||||
],
|
||||
|
|
Загрузка…
Ссылка в новой задаче