================ @@ -1718,6 +1720,13 @@ struct TestScopedLockable { MutexLock{&mu1}, a = 5; } + void temporary2(int x) { + if (check(MutexLock{&mu1}) || x) { + + } + check(MutexLock{&mu1}); ---------------- aaronpuchert wrote:
The `check` here doesn't do anything, right? https://github.com/llvm/llvm-project/pull/74020 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits