[PATCH] D81332: Thread safety analysis: Support deferring locks

2020-06-08 Thread Aaron Puchert via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG1850f56c8aba: Thread safety analysis: Support deferring locks (authored by aaronpuchert). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D81332/new/

[PATCH] D81332: Thread safety analysis: Support deferring locks

2020-06-08 Thread Aaron Puchert via Phabricator via cfe-commits
aaronpuchert added a comment. In D81332#2079489 , @aaron.ballman wrote: > LGTM! Should we update the public docs for this change as well? Specifically, > I am wondering if we should update >

[PATCH] D81332: Thread safety analysis: Support deferring locks

2020-06-08 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM! Should we update the public docs for this change as well? Specifically, I am wondering if we should update

[PATCH] D81332: Thread safety analysis: Support deferring locks

2020-06-06 Thread Aaron Puchert via Phabricator via cfe-commits
aaronpuchert created this revision. aaronpuchert added reviewers: aaron.ballman, delesley. Herald added a project: clang. Herald added a subscriber: cfe-commits. The standard std::unique_lock can be constructed to manage a lock without initially acquiring it by passing std::defer_lock as second