aaron.ballman closed this revision.
aaron.ballman added a comment.
In https://reviews.llvm.org/D50110#1187828, @aaronpuchert wrote:
> For now I think I'm done fixing things in the thread safety analysis, but if
> I see myself contributing more in the longer term, I will definitely try to
> obta
aaronpuchert added a comment.
For now I think I'm done fixing things in the thread safety analysis, but if I
see myself contributing more in the longer term, I will definitely try to
obtain commit access.
Repository:
rC Clang
https://reviews.llvm.org/D50110
__
aaron.ballman added a comment.
In https://reviews.llvm.org/D50110#1187771, @aaronpuchert wrote:
> Thanks for the review! Could you commit for me again?
I can, but it might also be a good idea for you to obtain your own commit
privileges at this point
(https://llvm.org/docs/DeveloperPolicy.htm
aaronpuchert added a comment.
Thanks for the review! Could you commit for me again?
Repository:
rC Clang
https://reviews.llvm.org/D50110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
Comment at: test/SemaCXX/warn-thread-safety-analysis.cpp:4081-4085
+ void unlockExclusive() EXCLUSIVE_UNLOCK_FUNCTION(mu_) {
+mu_.Unlock();
+ }
+
+
aaronpuchert added inline comments.
Comment at: test/SemaCXX/warn-thread-safety-analysis.cpp:4081-4085
+ void unlockExclusive() EXCLUSIVE_UNLOCK_FUNCTION(mu_) {
+mu_.Unlock();
+ }
+
+ void unlockShared() SHARED_UNLOCK_FUNCTION(mu_) {
aaron.ballman wrote:
>
aaron.ballman added inline comments.
Comment at: test/SemaCXX/warn-thread-safety-analysis.cpp:4081-4085
+ void unlockExclusive() EXCLUSIVE_UNLOCK_FUNCTION(mu_) {
+mu_.Unlock();
+ }
+
+ void unlockShared() SHARED_UNLOCK_FUNCTION(mu_) {
Nothing calls either
aaronpuchert created this revision.
aaronpuchert added reviewers: aaron.ballman, delesley.
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
https://reviews.llvm.org/D50110
Files:
lib/Analysis/ThreadSafety.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp
Index: test/SemaCXX/wa