| diff --git a/third_party/abseil-cpp/absl/synchronization/mutex.h b/third_party/abseil-cpp/absl/synchronization/mutex.h |
| index 39ea0d0f23e27..41e9010f7e76d 100644 |
| --- a/third_party/abseil-cpp/absl/synchronization/mutex.h |
| +++ b/third_party/abseil-cpp/absl/synchronization/mutex.h |
| @@ -178,7 +178,6 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // then acquires it exclusively. (This lock is also known as a "write lock.") |
| void lock() ABSL_EXCLUSIVE_LOCK_FUNCTION(); |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| inline void Lock() ABSL_EXCLUSIVE_LOCK_FUNCTION() { lock(); } |
| |
| // Mutex::unlock() |
| @@ -187,7 +186,6 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // free state. Calling thread must hold the `Mutex` exclusively. |
| void unlock() ABSL_UNLOCK_FUNCTION(); |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| inline void Unlock() ABSL_UNLOCK_FUNCTION() { unlock(); } |
| |
| // Mutex::try_lock() |
| @@ -197,7 +195,6 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // probability if the `Mutex` was free. |
| [[nodiscard]] bool try_lock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true); |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| [[nodiscard]] bool TryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { |
| return try_lock(); |
| } |
| @@ -252,7 +249,6 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // lock on the mutex. |
| void lock_shared() ABSL_SHARED_LOCK_FUNCTION(); |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| void ReaderLock() ABSL_SHARED_LOCK_FUNCTION() { lock_shared(); } |
| |
| // Mutex::unlock_shared() |
| @@ -262,7 +258,6 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // Note that you cannot call `unlock_shared()` on a mutex held in write mode. |
| void unlock_shared() ABSL_UNLOCK_FUNCTION(); |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| void ReaderUnlock() ABSL_UNLOCK_FUNCTION() { unlock_shared(); } |
| |
| // Mutex::try_lock_shared() |
| @@ -272,7 +267,6 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // `true` with high probability if the `Mutex` was free or shared. |
| [[nodiscard]] bool try_lock_shared() ABSL_SHARED_TRYLOCK_FUNCTION(true); |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| [[nodiscard]] bool ReaderTryLock() ABSL_SHARED_TRYLOCK_FUNCTION(true) { |
| return try_lock_shared(); |
| } |
| @@ -297,13 +291,10 @@ class ABSL_LOCKABLE ABSL_ATTRIBUTE_WARN_UNUSED Mutex { |
| // These methods may be used (along with the complementary `Reader*()` |
| // methods) to distinguish simple exclusive `Mutex` usage (`Lock()`, |
| // etc.) from reader/writer lock usage. |
| - ABSL_DEPRECATE_AND_INLINE() |
| void WriterLock() ABSL_EXCLUSIVE_LOCK_FUNCTION() { lock(); } |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| void WriterUnlock() ABSL_UNLOCK_FUNCTION() { unlock(); } |
| |
| - ABSL_DEPRECATE_AND_INLINE() |
| [[nodiscard]] bool WriterTryLock() ABSL_EXCLUSIVE_TRYLOCK_FUNCTION(true) { |
| return try_lock(); |
| } |
| @@ -617,7 +608,6 @@ class ABSL_SCOPED_LOCKABLE MutexLock { |
| // Calls `mu->lock()` and returns when that call returns. That is, `*mu` is |
| // guaranteed to be locked when this object is constructed. Requires that |
| // `mu` be dereferenceable. |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit MutexLock(Mutex* absl_nonnull mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) |
| : MutexLock(*mu) {} |
| @@ -631,7 +621,6 @@ class ABSL_SCOPED_LOCKABLE MutexLock { |
| this->mu_.LockWhen(cond); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit MutexLock(Mutex* absl_nonnull mu, const Condition& cond) |
| ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) |
| @@ -660,7 +649,6 @@ class ABSL_SCOPED_LOCKABLE ReaderMutexLock { |
| mu.lock_shared(); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit ReaderMutexLock(Mutex* absl_nonnull mu) ABSL_SHARED_LOCK_FUNCTION(mu) |
| : ReaderMutexLock(*mu) {} |
| @@ -671,7 +659,6 @@ class ABSL_SCOPED_LOCKABLE ReaderMutexLock { |
| mu.ReaderLockWhen(cond); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit ReaderMutexLock(Mutex* absl_nonnull mu, const Condition& cond) |
| ABSL_SHARED_LOCK_FUNCTION(mu) |
| @@ -700,7 +687,6 @@ class ABSL_SCOPED_LOCKABLE WriterMutexLock { |
| mu.lock(); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit WriterMutexLock(Mutex* absl_nonnull mu) |
| ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) |
| @@ -713,7 +699,6 @@ class ABSL_SCOPED_LOCKABLE WriterMutexLock { |
| mu.WriterLockWhen(cond); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit WriterMutexLock(Mutex* absl_nonnull mu, const Condition& cond) |
| ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) |
| @@ -1118,7 +1103,6 @@ class ABSL_SCOPED_LOCKABLE ReleasableMutexLock { |
| this->mu_->lock(); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit ReleasableMutexLock(Mutex* absl_nonnull mu) |
| ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) |
| @@ -1131,7 +1115,6 @@ class ABSL_SCOPED_LOCKABLE ReleasableMutexLock { |
| this->mu_->LockWhen(cond); |
| } |
| |
| - [[deprecated("Use the constructor that takes a reference instead")]] |
| ABSL_REFACTOR_INLINE |
| explicit ReleasableMutexLock(Mutex* absl_nonnull mu, const Condition& cond) |
| ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) |