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:
vmpstr 2017-03-02 16:31:51 -08:00 коммит произвёл Commit bot
Родитель 11669c6e6d
Коммит 534dc3a634
1 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -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",