about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2020-11-23 09:26:10 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2021-09-08 12:23:37 -0400
commitc9d46eb2244d49215e0a1ccf8bd4b7e700b252e7 (patch)
treeb74c11abe1c30a0f528ff5c2ef3a711771937495 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent11bbb5231349a0a144d86d5c0c21061a06d1969d (diff)
downloadrust-c9d46eb2244d49215e0a1ccf8bd4b7e700b252e7.tar.gz
rust-c9d46eb2244d49215e0a1ccf8bd4b7e700b252e7.zip
Rework DepthFirstSearch API
This expands the API to be more flexible, allowing for more visitation patterns
on graphs. This will be useful to avoid extra datasets (and allocations) in
cases where the expanded DFS API is sufficient.

This also fixes a bug with the previous DFS constructor, which left the start
node not marked as visited (even though it was immediately returned).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions