diff options
author | Abseil Team <absl-team@google.com> | 2024-02-07 10:40:14 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-02-07 10:41:33 -0800 |
commit | f4c713f55e0e7d12ae03204c027364dd87719e26 (patch) | |
tree | b17822b1118c79e064c14cbf5e5aeb3afa304d47 | |
parent | c7ea3209e1ca99dd5f420f694eedfae6cd1b9c79 (diff) |
Add -Wdead-code-aggressive to ABSL_LLVM_FLAGS
PiperOrigin-RevId: 605030710
Change-Id: Id273d0ff79ebff4f753a4ca9818e2b53661d6fee
-rw-r--r-- | absl/copts/GENERATED_AbseilCopts.cmake | 2 | ||||
-rw-r--r-- | absl/copts/GENERATED_copts.bzl | 2 | ||||
-rw-r--r-- | absl/copts/copts.py | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake index 430916f7..f90bff79 100644 --- a/absl/copts/GENERATED_AbseilCopts.cmake +++ b/absl/copts/GENERATED_AbseilCopts.cmake @@ -84,6 +84,7 @@ list(APPEND ABSL_LLVM_FLAGS "-Wextra" "-Wcast-qual" "-Wconversion" + "-Wdead-code-aggressive" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wfor-loop-analysis" @@ -122,6 +123,7 @@ list(APPEND ABSL_LLVM_TEST_FLAGS "-Wextra" "-Wcast-qual" "-Wconversion" + "-Wdead-code-aggressive" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" "-Wfor-loop-analysis" diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl index 011d8a98..3a659529 100644 --- a/absl/copts/GENERATED_copts.bzl +++ b/absl/copts/GENERATED_copts.bzl @@ -85,6 +85,7 @@ ABSL_LLVM_FLAGS = [ "-Wextra", "-Wcast-qual", "-Wconversion", + "-Wdead-code-aggressive", "-Wfloat-overflow-conversion", "-Wfloat-zero-conversion", "-Wfor-loop-analysis", @@ -123,6 +124,7 @@ ABSL_LLVM_TEST_FLAGS = [ "-Wextra", "-Wcast-qual", "-Wconversion", + "-Wdead-code-aggressive", "-Wfloat-overflow-conversion", "-Wfloat-zero-conversion", "-Wfor-loop-analysis", diff --git a/absl/copts/copts.py b/absl/copts/copts.py index e6e11949..946ceb86 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -45,6 +45,7 @@ ABSL_LLVM_FLAGS = [ "-Wextra", "-Wcast-qual", "-Wconversion", + "-Wdead-code-aggressive", "-Wfloat-overflow-conversion", "-Wfloat-zero-conversion", "-Wfor-loop-analysis", |