summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-11-03 07:34:49 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-11-03 07:35:40 -0700
commit8542ee6a7b1dedf6350c2629970c91a3241bf908 (patch)
tree585991f5ba91fd821f77ad9156e8f03b81d42254
parente6044634dd7caec2d79a13aecc9e765023768757 (diff)
Stop disabling some test warnings that have been fixed
PiperOrigin-RevId: 485868656 Change-Id: I09d70adc570b6b79a80c29f89601186aab390032
-rw-r--r--absl/copts/GENERATED_AbseilCopts.cmake11
-rw-r--r--absl/copts/GENERATED_copts.bzl11
-rw-r--r--absl/copts/copts.py6
3 files changed, 0 insertions, 28 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake
index 46563d41..ba70ef9b 100644
--- a/absl/copts/GENERATED_AbseilCopts.cmake
+++ b/absl/copts/GENERATED_AbseilCopts.cmake
@@ -13,15 +13,11 @@ list(APPEND ABSL_CLANG_CL_FLAGS
)
list(APPEND ABSL_CLANG_CL_TEST_FLAGS
- "-Wno-c99-extensions"
"-Wno-deprecated-declarations"
"-Wno-implicit-int-conversion"
- "-Wno-missing-noreturn"
"-Wno-missing-prototypes"
"-Wno-missing-variable-declarations"
- "-Wno-null-conversion"
"-Wno-shadow"
- "-Wno-shift-sign-overflow"
"-Wno-shorten-64-to-32"
"-Wno-sign-compare"
"-Wno-sign-conversion"
@@ -32,7 +28,6 @@ list(APPEND ABSL_CLANG_CL_TEST_FLAGS
"-Wno-unused-private-field"
"-Wno-unused-template"
"-Wno-used-but-marked-unused"
- "-Wno-zero-as-null-pointer-constant"
"-Wno-gnu-zero-variadic-macro-arguments"
)
@@ -55,7 +50,6 @@ list(APPEND ABSL_GCC_FLAGS
)
list(APPEND ABSL_GCC_TEST_FLAGS
- "-Wno-conversion-null"
"-Wno-deprecated-declarations"
"-Wno-missing-declarations"
"-Wno-sign-compare"
@@ -101,15 +95,11 @@ list(APPEND ABSL_LLVM_FLAGS
)
list(APPEND ABSL_LLVM_TEST_FLAGS
- "-Wno-c99-extensions"
"-Wno-deprecated-declarations"
"-Wno-implicit-int-conversion"
- "-Wno-missing-noreturn"
"-Wno-missing-prototypes"
"-Wno-missing-variable-declarations"
- "-Wno-null-conversion"
"-Wno-shadow"
- "-Wno-shift-sign-overflow"
"-Wno-shorten-64-to-32"
"-Wno-sign-compare"
"-Wno-sign-conversion"
@@ -120,7 +110,6 @@ list(APPEND ABSL_LLVM_TEST_FLAGS
"-Wno-unused-private-field"
"-Wno-unused-template"
"-Wno-used-but-marked-unused"
- "-Wno-zero-as-null-pointer-constant"
"-Wno-gnu-zero-variadic-macro-arguments"
)
diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
index 8518b63b..62aab656 100644
--- a/absl/copts/GENERATED_copts.bzl
+++ b/absl/copts/GENERATED_copts.bzl
@@ -14,15 +14,11 @@ ABSL_CLANG_CL_FLAGS = [
]
ABSL_CLANG_CL_TEST_FLAGS = [
- "-Wno-c99-extensions",
"-Wno-deprecated-declarations",
"-Wno-implicit-int-conversion",
- "-Wno-missing-noreturn",
"-Wno-missing-prototypes",
"-Wno-missing-variable-declarations",
- "-Wno-null-conversion",
"-Wno-shadow",
- "-Wno-shift-sign-overflow",
"-Wno-shorten-64-to-32",
"-Wno-sign-compare",
"-Wno-sign-conversion",
@@ -33,7 +29,6 @@ ABSL_CLANG_CL_TEST_FLAGS = [
"-Wno-unused-private-field",
"-Wno-unused-template",
"-Wno-used-but-marked-unused",
- "-Wno-zero-as-null-pointer-constant",
"-Wno-gnu-zero-variadic-macro-arguments",
]
@@ -56,7 +51,6 @@ ABSL_GCC_FLAGS = [
]
ABSL_GCC_TEST_FLAGS = [
- "-Wno-conversion-null",
"-Wno-deprecated-declarations",
"-Wno-missing-declarations",
"-Wno-sign-compare",
@@ -102,15 +96,11 @@ ABSL_LLVM_FLAGS = [
]
ABSL_LLVM_TEST_FLAGS = [
- "-Wno-c99-extensions",
"-Wno-deprecated-declarations",
"-Wno-implicit-int-conversion",
- "-Wno-missing-noreturn",
"-Wno-missing-prototypes",
"-Wno-missing-variable-declarations",
- "-Wno-null-conversion",
"-Wno-shadow",
- "-Wno-shift-sign-overflow",
"-Wno-shorten-64-to-32",
"-Wno-sign-compare",
"-Wno-sign-conversion",
@@ -121,7 +111,6 @@ ABSL_LLVM_TEST_FLAGS = [
"-Wno-unused-private-field",
"-Wno-unused-template",
"-Wno-used-but-marked-unused",
- "-Wno-zero-as-null-pointer-constant",
"-Wno-gnu-zero-variadic-macro-arguments",
]
diff --git a/absl/copts/copts.py b/absl/copts/copts.py
index 17c467c1..732af9ea 100644
--- a/absl/copts/copts.py
+++ b/absl/copts/copts.py
@@ -17,15 +17,11 @@ MSVC_BIG_WARNING_FLAGS = [
]
LLVM_TEST_DISABLE_WARNINGS_FLAGS = [
- "-Wno-c99-extensions",
"-Wno-deprecated-declarations",
"-Wno-implicit-int-conversion",
- "-Wno-missing-noreturn",
"-Wno-missing-prototypes",
"-Wno-missing-variable-declarations",
- "-Wno-null-conversion",
"-Wno-shadow",
- "-Wno-shift-sign-overflow",
"-Wno-shorten-64-to-32",
"-Wno-sign-compare",
"-Wno-sign-conversion",
@@ -36,7 +32,6 @@ LLVM_TEST_DISABLE_WARNINGS_FLAGS = [
"-Wno-unused-private-field",
"-Wno-unused-template",
"-Wno-used-but-marked-unused",
- "-Wno-zero-as-null-pointer-constant",
# gtest depends on this GNU extension being offered.
"-Wno-gnu-zero-variadic-macro-arguments",
]
@@ -72,7 +67,6 @@ COPT_VARS = {
"-DNOMINMAX",
],
"ABSL_GCC_TEST_FLAGS": [
- "-Wno-conversion-null",
"-Wno-deprecated-declarations",
"-Wno-missing-declarations",
"-Wno-sign-compare",