[PATCH] D52578: Thread safety analysis: Allow scoped releasing of capabilities
Aaron Puchert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 24 16:16:13 PDT 2018
aaronpuchert updated this revision to Diff 171019.
aaronpuchert added a comment.
Introduced helper functions to clarify lock handling.
The previous version was too tightly coupled, and the introduction of AddCp and RemoveCp didn't help readability.
Repository:
rC Clang
https://reviews.llvm.org/D52578
Files:
lib/Analysis/ThreadSafety.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52578.171019.patch
Type: text/x-patch
Size: 11033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181024/8cfc530c/attachment-0001.bin>
More information about the cfe-commits
mailing list