Commit d2c0c9d0 by Derek Mauro Committed by Copybara-Service

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
parent b1f79282
......@@ -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"
......
......@@ -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",
......
......@@ -57,6 +57,7 @@ ABSL_LLVM_FLAGS = [
"-Wpointer-arith",
"-Wself-assign",
"-Wshadow-all",
"-Wshorten-64-to-32",
"-Wstring-conversion",
"-Wtautological-overlap-compare",
"-Wtautological-unsigned-zero-compare",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment