summaryrefslogtreecommitdiff
path: root/absl/copts/GENERATED_AbseilCopts.cmake
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_AbseilCopts.cmake
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_AbseilCopts.cmake')
-rw-r--r--absl/copts/GENERATED_AbseilCopts.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake
index 99b72ab7..510b78eb 100644
--- a/absl/copts/GENERATED_AbseilCopts.cmake
+++ b/absl/copts/GENERATED_AbseilCopts.cmake
@@ -96,6 +96,7 @@ list(APPEND ABSL_LLVM_FLAGS
"-Wpointer-arith"
"-Wself-assign"
"-Wshadow-all"
+ "-Wshorten-64-to-32"
"-Wstring-conversion"
"-Wtautological-overlap-compare"
"-Wtautological-unsigned-zero-compare"