build: Enable auto raw pointer deduction check everywhere on clang.
This patch enables the raw pointer deduction check on every platform. R=danakj@chromium.org, thakis@chromium.org BUG=554600 Review-Url: https://codereview.chromium.org/2723253003 Cr-Original-Commit-Position: refs/heads/master@{#454453} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 27c78942d0fbb0f64fa9d1b8c44207f7a917912e
This commit is contained in:
Родитель
11669c6e6d
Коммит
534dc3a634
|
@ -35,18 +35,12 @@ config("find_bad_constructs") {
|
|||
"-add-plugin",
|
||||
"-Xclang",
|
||||
"find-bad-constructs",
|
||||
"-Xclang",
|
||||
"-plugin-arg-find-bad-constructs",
|
||||
"-Xclang",
|
||||
"check-auto-raw-pointer",
|
||||
]
|
||||
|
||||
# TODO(vmpstr): We need to enable this everywhere. crbug.com/554600
|
||||
if (is_linux && !is_chromeos && !is_chromecast) {
|
||||
cflags += [
|
||||
"-Xclang",
|
||||
"-plugin-arg-find-bad-constructs",
|
||||
"-Xclang",
|
||||
"check-auto-raw-pointer",
|
||||
]
|
||||
}
|
||||
|
||||
if ((is_linux || is_android) && !is_chromecast) {
|
||||
cflags += [
|
||||
"-Xclang",
|
||||
|
|
Загрузка…
Ссылка в новой задаче