]> granicus.if.org Git - clang/commit
Reland "Thread Safety Analysis: fix assert_capability."
authorJosh Gao <jmgao@google.com>
Tue, 8 Aug 2017 19:44:34 +0000 (19:44 +0000)
committerJosh Gao <jmgao@google.com>
Tue, 8 Aug 2017 19:44:34 +0000 (19:44 +0000)
commit56427e245e62f2cb664f183fd2159bfb4b0e6373
treed16b58d1c66cc9c2b4358fd30000b1577fe4cde6
parent34b5db131b474135574bd12643339a8974077a38
Reland "Thread Safety Analysis: fix assert_capability."

Delete the test that was broken by rL309725, and add it back in a
follow up commit. Also, improve the tests a bit.

Reviewers: delesley, aaron.ballman

Differential Revision: https://reviews.llvm.org/D36237

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310402 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/Analysis/ThreadSafety.cpp
lib/Sema/SemaDeclAttr.cpp
test/Sema/attr-capabilities.c
test/SemaCXX/warn-thread-safety-analysis.cpp