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

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

Issue 2511613003: Disable new Clang warning -Wsigned-enum-bitfield (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | 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 1eaa390c156bd963f2066087645085a3fde47560..950aa164274a190622afdaed2b9624f1467dfbf9 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1036,6 +1036,12 @@ config("default_warnings") {
# TODO(hans): https://crbug.com/637306
"-Wno-address-of-packed-member",
]
+ if (llvm_force_head_revision) {
+ cflags += [
+ # TODO(hans): https://crbug.com/666144
+ "-Wno-signed-enum-bitfield",
+ ]
+ }
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698