about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-26 14:43:31 +0100
committerGitHub <noreply@github.com>2024-01-26 14:43:31 +0100
commitc48c77e1605bb07b5687e7a644ea84604790c68e (patch)
treed891ce469f33bafad05688f151524cc603260985 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5f1f6176a5a85b6dcda766c48053e958c59d90af (diff)
parent15dbdabdb55adaf7542a42ec605aba7a4a299801 (diff)
downloadrust-c48c77e1605bb07b5687e7a644ea84604790c68e.tar.gz
rust-c48c77e1605bb07b5687e7a644ea84604790c68e.zip
Rollup merge of #120339 - petrochenkov:nameprivisit, r=michaelwoerister
privacy: Refactor top-level visiting in `NamePrivacyVisitor`

Full hierarchical visiting (`nested_filter::All`) is not necessary, visiting all item-likes in isolation is enough.
Tracking current item is not necessary, passing any `HirId` with the same parent module to `adjust_ident_and_get_scope` is enough.

Follow up to https://github.com/rust-lang/rust/pull/120284.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions