Skip to content

Commit f4d077a

Browse files
MatzeBJaddyen
authored andcommitted
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 1a3b3a4 commit f4d077a

File tree

1 file changed

+131
-147
lines changed

1 file changed

+131
-147
lines changed

0 commit comments

Comments
 (0)