PiJoules wrote:

> > LGTM and can confirm this fixes #156760. Could you add that repro as a 
> > regression test here.
> 
> Can you check if the regression tests added to 
> `clang/test/PCH/thread-safety-attrs.cpp` covers the cases?

That test passes mutexes to std::lock but the example in the bug has 
unique_locks passed to std::lock

https://github.com/llvm/llvm-project/pull/157171
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to