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

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

Issue 1229653005: roll clang 239765:241602 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gnbleh Created 5 years, 5 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 | « build/common.gypi ('k') | tools/clang/scripts/package.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 56b79b560b4c67e730e1bcbc5db6519626b633b4..9d98fec96054e107efc0d57a920f0c0b6ab1060b 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -925,6 +925,17 @@ if (is_clang) {
# TODO(hans): Get this cleaned up, http://crbug.com/428099
"-Wno-inconsistent-missing-override",
]
+
+ if (exec_script("//tools/clang/scripts/update.py",
+ [ "--print-revision" ],
+ "trim string") != "239674-1") {
+ default_warning_flags += [
+ # TODO(thakis): Move this into outer if once clang is rolled far enough
+ # that the pinned clang understands this flag.
+ # TODO(thakis): Enable this, crbug.com/507717
+ "-Wno-shift-negative-value",
+ ]
+ }
}
}
« no previous file with comments | « build/common.gypi ('k') | tools/clang/scripts/package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698