The thread safety analysis implementation supported exclusive and shared try lock function attributes, but did not have support for the analogous capability attributes. This patch adds that support.
This addresses PR32954.
Paths
| Differential D44155
Fix support for try_acquire_capability ClosedPublic Authored by aaron.ballman on Mar 6 2018, 8:34 AM.
Details
Summary The thread safety analysis implementation supported exclusive and shared try lock function attributes, but did not have support for the analogous capability attributes. This patch adds that support. This addresses PR32954.
Diff Detail Event TimelineComment Actions
Ugh, yes. TortoiseSVN has no option for this, so I perpetually forget. Comment Actions I think this code is ready to go in -- accepting my own revision so that I can close. If @delesley spots any issues, they can be address post commit. This revision is now accepted and ready to land.Apr 12 2018, 10:56 AM
Revision Contents
Diff 138900 lib/Analysis/ThreadSafety.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp
|