Refactor the code to make it more readable.
It will set up further changes, and improvements to this code in subsequent patches.
This is a non-functional change.
Differential D111534
[analyzer][NFC] Refactor CallEvent::isCalled() steakhal on Oct 11 2021, 3:28 AM. Authored by
Details Refactor the code to make it more readable. It will set up further changes, and improvements to this code in subsequent patches.
Diff Detail
Event Timeline
Comment Actions What is the test coverage of the newly added lines?
Comment Actions I'm pretty sure they all are covered.
Comment Actions The way I see now, we should break this into 2 patches. 1) the strictly NFC changes 2) the return-value-guaranteed.cpp related FIXME and the reordering of the matching logic.
Comment Actions LGTM (with nits)! Thanks!
Comment Actions Thank you for adding me. I'll make a deeper review later.
|
If we are about to refactor this, maybe IsLookupDone and II can be merged into a single optional.