Introduce struct FlattenInfo to group some of the bookkeeping. This is also separated out from D88880, and besides of this being a bit of a clean-up, it is a prep step for next additions. I could take things a bit further, and move things into member functions, but thought this was a good first step also not to make this change too large.
Details
Details
Diff Detail
Diff Detail