================ @@ -3657,8 +3657,8 @@ class Foo { int a GUARDED_BY(mu_); bool c; - int tryLockMutexI() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu_); - Mutex* tryLockMutexP() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu_); + bool tryLockMutexI() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu_); ---------------- dmcardle wrote:
This bool can stay int if we go with the permissive bool/int/pointer return values. https://github.com/llvm/llvm-project/pull/95290 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits