mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 15:10:30 +00:00
d8d8371469
This removes the primary remaining API producing `TerminatorInst` which will reduce the rate at which code is introduced trying to use it and generally make it much easier to remove the remaining APIs across the codebase. Also clean up some of the stragglers that the previous mechanical update of variables missed. Users of LLVM and out-of-tree code generally will need to update any explicit variable types to handle this. Replacing `TerminatorInst` with `Instruction` (or `auto`) almost always works. Most of these edits were made in prior commits using the perl one-liner: ``` perl -i -ple 's/TerminatorInst(\b.* = .*getTerminator\(\))/Instruction\1/g' ``` This also my break some rare use cases where people overload for both `Instruction` and `TerminatorInst`, but these should be easily fixed by removing the `TerminatorInst` overload. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344504 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
BugDriver.cpp | ||
BugDriver.h | ||
bugpoint.cpp | ||
CMakeLists.txt | ||
CrashDebugger.cpp | ||
ExecutionDriver.cpp | ||
ExtractFunction.cpp | ||
FindBugs.cpp | ||
ListReducer.h | ||
LLVMBuild.txt | ||
Miscompilation.cpp | ||
OptimizerDriver.cpp | ||
ToolRunner.cpp | ||
ToolRunner.h |