This is an archive of the discontinued LLVM Phabricator instance.

Thread safety analysis: Rename parameters of ThreadSafetyAnalyzer::intersectAndWarn (NFC)
ClosedPublic

Authored by aaronpuchert on Jun 21 2021, 8:11 AM.

Details

Summary

In D104261 we made the parameters' meaning slightly more specific, this
changes their names accordingly. In all uses we're building a new lock
set by intersecting existing locksets. The first (modifiable) argument
is the new lock set being built, the second (non-modifiable) argument is
the exit set of a preceding block.

Diff Detail

Event Timeline

aaronpuchert created this revision.Jun 21 2021, 8:11 AM
aaronpuchert requested review of this revision.Jun 21 2021, 8:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2021, 8:11 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.Jun 22 2021, 4:29 AM

LGTM! Thank you for the terminology cleanup.

This revision is now accepted and ready to land.Jun 22 2021, 4:29 AM
delesley accepted this revision.Jun 25 2021, 11:24 AM

Looks good. Thanks!

This revision was landed with ongoing or failed builds.Jun 29 2021, 2:57 PM
This revision was automatically updated to reflect the committed changes.