[libcxx-commits] [libcxx] Revert "[libc++] Add thread safety annotations for std::lock (#154078)" (PR #156964)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 5 01:04:44 PDT 2025


https://github.com/philnik777 requested changes to this pull request.

I'm not sure I understand the reasoning here. `-Wthread-safety` inherently has false-positives, so false-positives don't seem like a reason to remove the annotations again. If anything, we should expand them. If you can't deal with false-postives, don't enable a warning that has them.

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


More information about the libcxx-commits mailing list