[all-commits] [llvm/llvm-project] c143b7: [NFC] Cleanup: BasicBlock::getInstList() and Basic...

vporpo via All-commits all-commits at lists.llvm.org
Wed Dec 14 10:20:50 PST 2022


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

  Changed paths:
    M llvm/include/llvm/IR/BasicBlock.h
    M llvm/lib/IR/BasicBlock.cpp

  Log Message:
  -----------
  [NFC] Cleanup: BasicBlock::getInstList() and BasicBlock::getSublistAccess() are now private

We now have an adequate set of API functions, including BasicBlock::splice(),
BasicBlock::erase(), Instruction::insertAt() etc. that we shouldn't need access
to the underlying instruction list.

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




More information about the All-commits mailing list