This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] [NFC] Clean up the mess of constructing argument effects in RetainCountChecker
ClosedPublic

Authored by george.karpenkov on Dec 21 2018, 4:10 PM.

Details

Summary

Previously, argument effects were stored in a method variable, which was effectively global.
The global state was reset at each (hopefully) entrance point to the summary construction,
and every function could modify it.

Diff Detail

Event Timeline

NoQ accepted this revision.Dec 21 2018, 4:29 PM

I'm very happy to see this global mutable state exterminated.

This revision is now accepted and ready to land.Dec 21 2018, 4:29 PM
This revision was automatically updated to reflect the committed changes.