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: unassignedclangb...@nondot.org
Reporter: ohgodta...@gmail.com
CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs