[all-commits] [llvm/llvm-project] ad36f7: [NFC] Cleanup: Function::getBasicBlockList() and F...

vporpo via All-commits all-commits at lists.llvm.org
Thu Dec 15 21:42:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad36f767a4d183318b2e3a33dfc1b86a50ac2ab1
      https://github.com/llvm/llvm-project/commit/ad36f767a4d183318b2e3a33dfc1b86a50ac2ab1
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M llvm/include/llvm/IR/Function.h

  Log Message:
  -----------
  [NFC] Cleanup: Function::getBasicBlockList() and Function::getSublistAccess() are now private

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.

Differential Revision: https://reviews.llvm.org/D140162




More information about the All-commits mailing list