]> granicus.if.org Git - clang/commit
Properly add shared locks to the initial list of locks being tracked, instead of...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 3 Aug 2018 19:37:45 +0000 (19:37 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 3 Aug 2018 19:37:45 +0000 (19:37 +0000)
commit4418c5b56fafe30928f418be4eaee39d275628dc
tree8a1a85b660066e4a970ebdff7de8f6fbad745547
parent4c2bf4793555c9c709c43f21a3eb965219020126
Properly add shared locks to the initial list of locks being tracked, instead of assuming unlock functions always use exclusive locks.

Patch by Aaron Puchert.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338912 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ThreadSafety.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp