public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1103
@ 2022-06-08 12:28 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:28 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a5b38698aa439a935f0c0f4c55611f2173a28b57
commit a5b38698aa439a935f0c0f4c55611f2173a28b57
Merge: c1a022385f5 9f5d8a89738
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Tue Apr 12 10:47:17 2022 +0000
Merge #1103
1103: Lower AST::Visibility to HIR::Visibility properly r=CohenArthur a=CohenArthur
Fixes #1093
This should cover every case since the previous code simply created public HIR visibilities.
The PR refactors the HIR::Visibility struct to be tinier and a desugared version of the AST one.
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/ast/rust-item.h | 17 +++++--
gcc/rust/backend/rust-compile-base.cc | 3 +-
gcc/rust/backend/rust-compile-implitem.cc | 5 +-
gcc/rust/hir/rust-ast-lower-enumitem.h | 13 +++---
gcc/rust/hir/rust-ast-lower-extern.h | 5 +-
gcc/rust/hir/rust-ast-lower-implitem.h | 8 ++--
gcc/rust/hir/rust-ast-lower-item.h | 36 ++++++++-------
gcc/rust/hir/rust-ast-lower-stmt.h | 18 ++++----
gcc/rust/hir/rust-ast-lower.cc | 35 ++++++++++++++
gcc/rust/hir/rust-ast-lower.h | 8 ++++
gcc/rust/hir/tree/rust-hir-full-test.cc | 16 ++-----
gcc/rust/hir/tree/rust-hir-item.h | 77 +++++--------------------------
12 files changed, 120 insertions(+), 121 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:28 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:28 [gcc/devel/rust/master] Merge #1103 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).