mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Allow directly constructing a PostorderIterator, to get rid of `tree.postorder(node_id).end()` indirect construction. For ranges that don't need tree data, make it clearer that they're not validated. Note, this subtly gets rid of a subtree size use in the `tree.postorder(node_id).end()` case (to get the discarded `begin()` value).
Toolchain
A design is currently maintained in Google Drive. It'll be migrated to markdown once we are confident in its stability.