summaryrefslogtreecommitdiff
path: root/absl/copts/GENERATED_copts.bzl
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-12-19 09:42:11 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2022-12-19 09:43:03 -0800
commitd2c0c9d06128f9b63ad2f1e5165a16cb8512cdf2 (patch)
treeb9aa72bd1d73b9e20a4f9210f3f1ccb827e7a25b /absl/copts/GENERATED_copts.bzl
parentb1f792822b8d25e2f954b32dbcee0ddb89631fa9 (diff)
Adds -Wshorten-64-to-32 to LLVM warnings for non-test code since
Chromium builds Abseil with this warning. Tests are still built with -Wno-shorten-64-to-32 due to many pre-existing warnings. PiperOrigin-RevId: 496421954 Change-Id: I796ca444967474df0bdeb3fe82f85512dab11d8f
Diffstat (limited to 'absl/copts/GENERATED_copts.bzl')
-rw-r--r--absl/copts/GENERATED_copts.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
index bfae4b70..f77e9077 100644
--- a/absl/copts/GENERATED_copts.bzl
+++ b/absl/copts/GENERATED_copts.bzl
@@ -97,6 +97,7 @@ ABSL_LLVM_FLAGS = [
"-Wpointer-arith",
"-Wself-assign",
"-Wshadow-all",
+ "-Wshorten-64-to-32",
"-Wstring-conversion",
"-Wtautological-overlap-compare",
"-Wtautological-unsigned-zero-compare",