Skip to content

Commit 347e815

Browse files
committed
Add a Transform() utility for rewriting demangle trees. (NFC)
Transform() recursively transforms a demangle tree by doing a post-order traversal and replacing each node with fn(node). In most cases this utility will do less work than the ad-hoc implementation it is replacing because we now only recreate nodes that actually changed.
1 parent aba7154 commit 347e815

File tree

2 files changed

+241
-235
lines changed

2 files changed

+241
-235
lines changed

0 commit comments

Comments
 (0)