about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <github@jyn.dev>2023-03-05 05:51:23 -0600
committerJoshua Nelson <github@jyn.dev>2023-03-05 05:51:23 -0600
commit98334f6a2d2030221975c457eb038008c76efdcb (patch)
treea40a5be9fea71bdf7b86ecd07a399029c08d81f0 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent97cffd52958d34536a3ee1d3e84fe4ae50b0d0aa (diff)
downloadrust-98334f6a2d2030221975c457eb038008c76efdcb.tar.gz
rust-98334f6a2d2030221975c457eb038008c76efdcb.zip
Don't walk the `tests/` directories in checks that always skip it
`WalkBuilder` handles top-level paths differently than `fn walk` used
to: it doesn't run the `skip` function to determine if it should be
skipped, instead assuming the top-level function is always included.

This is a reasonable assumption; adapt our code so it doesn't make
pointless calls to `walk`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions