From 0128305738355d085e079bab281a7211a00a5b83 Mon Sep 17 00:00:00 2001 From: Peter Boström Date: Mon, 20 May 2024 11:33:12 -0700 Subject: Revert: Add -Wdead-code-aggressive to ABSL_LLVM_FLAGS This was supposed to be -Wunreachable-code-aggressive. PiperOrigin-RevId: 635519833 Change-Id: I2df1ca9ea8a8bf1060006c2b11602646a26eac61 --- absl/copts/GENERATED_AbseilCopts.cmake | 2 -- absl/copts/GENERATED_copts.bzl | 2 -- absl/copts/copts.py | 1 - 3 files changed, 5 deletions(-) (limited to 'absl/copts') diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake index d96bd839..da2282fe 100644 --- a/absl/copts/GENERATED_AbseilCopts.cmake +++ b/absl/copts/GENERATED_AbseilCopts.cmake @@ -87,7 +87,6 @@ list(APPEND ABSL_LLVM_FLAGS "-Wc++98-compat-extra-semi" "-Wcast-qual" "-Wconversion" - "-Wdead-code-aggressive" "-Wdeprecated-pragma" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" @@ -128,7 +127,6 @@ list(APPEND ABSL_LLVM_TEST_FLAGS "-Wc++98-compat-extra-semi" "-Wcast-qual" "-Wconversion" - "-Wdead-code-aggressive" "-Wdeprecated-pragma" "-Wfloat-overflow-conversion" "-Wfloat-zero-conversion" diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl index 0a344236..b9e0071e 100644 --- a/absl/copts/GENERATED_copts.bzl +++ b/absl/copts/GENERATED_copts.bzl @@ -88,7 +88,6 @@ ABSL_LLVM_FLAGS = [ "-Wc++98-compat-extra-semi", "-Wcast-qual", "-Wconversion", - "-Wdead-code-aggressive", "-Wdeprecated-pragma", "-Wfloat-overflow-conversion", "-Wfloat-zero-conversion", @@ -129,7 +128,6 @@ ABSL_LLVM_TEST_FLAGS = [ "-Wc++98-compat-extra-semi", "-Wcast-qual", "-Wconversion", - "-Wdead-code-aggressive", "-Wdeprecated-pragma", "-Wfloat-overflow-conversion", "-Wfloat-zero-conversion", diff --git a/absl/copts/copts.py b/absl/copts/copts.py index 1aa09249..2d85ac74 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -47,7 +47,6 @@ ABSL_LLVM_FLAGS = [ "-Wc++98-compat-extra-semi", "-Wcast-qual", "-Wconversion", - "-Wdead-code-aggressive", "-Wdeprecated-pragma", "-Wfloat-overflow-conversion", "-Wfloat-zero-conversion", -- cgit v1.2.3