https://bugs.llvm.org/show_bug.cgi?id=42655
Bug ID: 42655
Summary: Thread safety analysis incorrectly warns when using
std::scoped_lock with multiple locks
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++17
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Example: https://godbolt.org/z/d3qZS6
When using the std::scoped_lock constructor to acquire multiple locks, thread
safety analysis seems to think none of the locks are taken in the ensuing
block.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs