diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-22 12:15:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 12:15:22 +0000 |
commit | 4337aea3be387921ee60520d2188906d8762367b (patch) | |
tree | ea9540ded2e2be710336c3ed7a0c0d4de72f1e99 /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | b392376cc521230c8b254841ab036541317dc907 (diff) | |
parent | bdd1b86ccb87d942a24dd60c01736e439ad57087 (diff) | |
download | gcc-4337aea3be387921ee60520d2188906d8762367b.zip gcc-4337aea3be387921ee60520d2188906d8762367b.tar.gz gcc-4337aea3be387921ee60520d2188906d8762367b.tar.bz2 |
Merge #1155
1155: Add base for visibility resolving r=CohenArthur a=CohenArthur
This adds a new visitor whose aim is to resolve the visibility of each VisItem in a crate. The crux of the implementation will be resolving `pub restricted` items, whose module needs to be resolved using name resolution/path resolution. On top of that, we will need to add a new visitor building a "tree" of modules, with a `accessible_from` or `is_child_of` method: All children of a module get to access its items whose visibility is inherited.
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions