public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1172
@ 2022-06-08 12:40 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:40 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9cf744cbd762442ab33b3f92067829883d7d2d73
commit 9cf744cbd762442ab33b3f92067829883d7d2d73
Merge: 1ada076b932 1c56e969a64
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Thu Apr 28 13:46:02 2022 +0000
Merge #1172
1172: Resolve visibility paths r=CohenArthur a=CohenArthur
This tackles the remaining issues in #1158. ~~It also contains the commit from #1168 so you should wait for bors to merge that before reviewing it :D~~ done
The paths get resolved but their `NodeId`s are not used in the privacy visibility resolver yet.
Closes #1158
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/Make-lang.in | 1 +
gcc/rust/ast/rust-ast.h | 6 +
gcc/rust/ast/rust-item.h | 1 +
gcc/rust/privacy/rust-visibility-resolver.cc | 11 +
gcc/rust/resolve/rust-ast-resolve-base.cc | 654 +++++++++++++++++++++++++
gcc/rust/resolve/rust-ast-resolve-base.h | 335 ++++++-------
gcc/rust/resolve/rust-ast-resolve-item.cc | 41 ++
gcc/rust/resolve/rust-ast-resolve-path.cc | 72 +++
gcc/rust/resolve/rust-ast-resolve-path.h | 17 +
gcc/testsuite/rust/compile/pub_restricted_1.rs | 14 +
10 files changed, 987 insertions(+), 165 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:40 [gcc/devel/rust/master] Merge #1172 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).