This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Cleanup: Function::getBasicBlockList() and Function::getSublistAccess() are now private
ClosedPublic

Authored by vporpo on Dec 15 2022, 1:21 PM.

Details

Summary

The Function class now supports an adequate set of member functions to help
modify the BB list, including Function::splice(), Function::erase(),
Function::insert() etc. so we no longer need access to the underlying list.

Diff Detail