[libcxx-commits] [libcxx] [libc++] Mark scoped_lock constructors as [[nodiscard]] (PR #89397)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 19 13:58:32 PDT 2024


================
@@ -0,0 +1,34 @@
+//===----------------------------------------------------------------------===//
----------------
philnik777 wrote:

I think this should just be part of `libcxx/test/libcxx/diagnostics/mutex.nodiscard.verify.cpp`.

https://github.com/llvm/llvm-project/pull/89397


More information about the libcxx-commits mailing list