diff options
author | Copybara-Service <copybara-worker@google.com> | 2022-10-06 08:33:32 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-10-06 08:33:32 -0700 |
commit | c814d4e28b65bb4c492b4d897105971de85c1b6e (patch) | |
tree | 76c5eaa6c2b18a95e5ade6ce2b0ef72b50a68840 /absl/base | |
parent | a39feb0a01adec8326651984d4206d652481400c (diff) | |
parent | e61fc6d8da5154c6a665d7a28b9978f11b78eb62 (diff) |
Merge pull request #1289 from keith:ks/fix-more-clang-deprecated-builtins
PiperOrigin-RevId: 479321649
Change-Id: Icc3eba76fc17272fb1e9b1da2216394971a3d3ae
Diffstat (limited to 'absl/base')
-rw-r--r-- | absl/base/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/base/config.h b/absl/base/config.h index 95131068..1058ce74 100644 --- a/absl/base/config.h +++ b/absl/base/config.h @@ -243,6 +243,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #ifdef ABSL_HAVE_STD_IS_TRIVIALLY_DESTRUCTIBLE #error ABSL_HAVE_STD_IS_TRIVIALLY_DESTRUCTIBLE cannot be directly set #elif defined(_LIBCPP_VERSION) || defined(_MSC_VER) || \ + (defined(__clang__) && __clang_major__ >= 15) || \ (!defined(__clang__) && defined(__GLIBCXX__) && \ ABSL_INTERNAL_HAVE_MIN_GNUC_VERSION(4, 8)) #define ABSL_HAVE_STD_IS_TRIVIALLY_DESTRUCTIBLE 1 @@ -264,6 +265,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #elif defined(ABSL_HAVE_STD_IS_TRIVIALLY_ASSIGNABLE) #error ABSL_HAVE_STD_IS_TRIVIALLY_ASSIGNABLE cannot directly set #elif (defined(__clang__) && defined(_LIBCPP_VERSION)) || \ + (defined(__clang__) && __clang_major__ >= 15) || \ (!defined(__clang__) && \ ((ABSL_INTERNAL_HAVE_MIN_GNUC_VERSION(7, 4) && defined(__GLIBCXX__)) || \ (ABSL_INTERNAL_HAVE_MIN_GNUC_VERSION(8, 2) && \ |