This adds clang negative thread safery assertion support to std::mutex,
as documented in:
https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
Fixes #34951.
Paths
| Differential D41498
[libcxx] Add clang negative thread safety assertions to std::mutex AbandonedPublic Authored by lhchavez on Dec 21 2017, 9:22 AM.
Details
Summary This adds clang negative thread safery assertion support to std::mutex, https://clang.llvm.org/docs/ThreadSafetyAnalysis.html Fixes #34951.
Diff Detail
Revision Contents
Diff 127902 include/__mutex_base
test/libcxx/thread/thread.mutex/thread_safety_annotations_negative.fail.cpp
test/libcxx/thread/thread.mutex/thread_safety_annotations_negative.pass.cpp
utils/libcxx/test/config.py
|
We don't get to add public member functions to classes defined in the standard - at least not ones with pronounceable names.