public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1137
@ 2022-06-08 12:33 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:33 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:dc57f4ced0d168be911ca22db81fe9526e2d70a8
commit dc57f4ced0d168be911ca22db81fe9526e2d70a8
Merge: f6e244dc0e7 038677dd830
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Wed Apr 20 06:51:19 2022 +0000
Merge #1137
1137: ast: lower: Split rust-lower-base in its own source file r=CohenArthur a=CohenArthur
The implementation of all functions declared in `rust-ast-lower-base.h` was a big offender of our "definitions in headers" problem, spanning over 900 lines of code. We can do the same for basically all headers in `gcc/rust/hir` which all contain some definitions that have accumulated over time
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diff:
gcc/rust/Make-lang.in | 1 +
gcc/rust/hir/rust-ast-lower-base.cc | 889 ++++++++++++++++++++++++++++++++++++
gcc/rust/hir/rust-ast-lower-base.h | 377 +++++++--------
gcc/rust/hir/rust-ast-lower.cc | 346 --------------
4 files changed, 1067 insertions(+), 546 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:33 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:33 [gcc/devel/rust/master] Merge #1137 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).