Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: build/config/clang/BUILD.gn

Issue 2723253003: build: Enable auto raw pointer deduction check everywhere on clang. (Closed)
Patch Set: update Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/clang/BUILD.gn
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
index 22e308f330a9432e8521428cb69a105788fe2837..0aeccd07da180ca83b12dc997898185a7e9919b2 100644
--- a/build/config/clang/BUILD.gn
+++ b/build/config/clang/BUILD.gn
@@ -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",
« no previous file with comments | « no previous file | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698