mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
22c1ec78eb
This commit reduces build times by introducing a type-erasure layer when performing a visit on TupleTrees. Basically instead of propagating the type of the visitor along all of the template castle, we wrap the visitor into a virtual class with one method for each possible type in the TupleTree. This enables a single instatiation of visit algorithm.