[PATCH] D140054: [docs] Updates ProgrammersManual to reflect the change that BasicBlock::getInstList() is private.
Dmitry Babokin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 16:59:30 PST 2023
dbabokin added inline comments.
================
Comment at: llvm/docs/ProgrammersManual.rst:2990
- ReplaceInstWithValue(instToReplace->getParent()->getInstList(), ii,
Constant::getNullValue(PointerType::getUnqual(Type::Int32Ty)));
----------------
New version of `ReplaceInstWithValue` accepts only two argument, so looks like the whole `instToReplace->getParent()` needs to be removed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140054/new/
https://reviews.llvm.org/D140054
More information about the llvm-commits
mailing list