We now have an adequate set of API functions that we shouldn't need access
to the underlying instruction list.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/IR/BasicBlock.h | ||
---|---|---|
386–387 | Yeah good point. I made this private too. |
Comment Actions
The build bots were complaining about a formatting issue in nearby code, so I clang-formatted that too.
Comment Actions
This breaks llvm/example:
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-incremental/llvm-project/llvm/examples/ModuleMaker/ModuleMaker.cpp:58:7: error: 'getInstList' is a private member of 'llvm::BasicBlock'
See: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/33265/console
Comment Actions
grepping for getInstList shows that BrainF.cpp also uses it
should also update ProgrammersManual.rst
Comment Actions
Both examples should now be fixed. Updated the doc too. Thanks for your help @aeubanks .
instruction