MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / postdom_reverse_post_order

Function postdom_reverse_post_order

src/analysis/postdom/mod.rs:67–74  ·  view source on GitHub ↗
(
    graph: &G,
    end_nodes: Vec<G::Node>,
)

Source from the content-addressed store, hash-verified

65}
66
67pub fn postdom_reverse_post_order<G: DirectedGraph + Predecessors + WithEndNodes>(
68 graph: &G,
69 end_nodes: Vec<G::Node>,
70) -> Vec<G::Node> {
71 let mut vec = postdom_post_order_from(graph, end_nodes);
72 vec.reverse();
73 vec
74}
75
76pub fn postdom_post_order_from<G: DirectedGraph + Predecessors + WithEndNodes>(
77 graph: &G,

Callers 1

post_dominatorsFunction · 0.85

Calls 1

postdom_post_order_fromFunction · 0.85

Tested by

no test coverage detected