Skip to content

Commit 252ba8e

Browse files
authored
NFC: Refactor MIRPrinter into state struct and functions (llvm#140317)
Moves `MIRPRinter` and `MIPrinter` fields into a new `MFPrintState` struct. Turns methods into independent functions. - This slightly simplifies the code. - In the future this will allow to pass the state around to other printing functions without the need to expose classes in the public headers.
1 parent bf1d4a0 commit 252ba8e

File tree

1 file changed

+131
-147
lines changed

1 file changed

+131
-147
lines changed

0 commit comments

Comments
 (0)