]> granicus.if.org Git - clang/commit
Fix the try_acquire_capability attribute to behave like the other try-lock functions...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 12 Apr 2018 17:53:21 +0000 (17:53 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 12 Apr 2018 17:53:21 +0000 (17:53 +0000)
commit5febda6d2d97de4f0008acce6488e689fd9a660b
tree460c5a40ccab98869c4a41389da9f3c196d04079
parentd31da60fd47db6b1fc6d6403026951cb6147f65d
Fix the try_acquire_capability attribute to behave like the other try-lock functions. Fixes PR32954.

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