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

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

Issue 2622083008: Suppress new Clang warning -Wunused-lambda-capture (Closed)
Patch Set: Created 3 years, 11 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 | 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 c04a109d2e7321c259bf067f5e06d4c0323ce798..1ebd6c0b12b272328bdd840fc7723cd88f3c018d 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1078,6 +1078,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/681136
+ "-Wno-unused-lambda-capture",
+ ]
+ }
}
}
}
« 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