public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1118
@ 2022-06-08 12:32 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e76b6399550f6de221cd7fb88e981c0e72db7f86

commit e76b6399550f6de221cd7fb88e981c0e72db7f86
Merge: 042c8750245 c4443ca3b2e
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Sat Apr 16 09:37:42 2022 +0000

    Merge #1118
    
    1118: Add reachability visitor to Enum variants r=CohenArthur a=CohenArthur
    
    This visits all of an enum's variants and their fields if present. To do that properly, this adds a new `EnumItemKind` enum which allows static casting when visiting each variant of the enum (kept as an `EnumItem` class which is derived three times)
    
    Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>

Diff:

 gcc/rust/hir/tree/rust-hir-full-test.cc | 16 ++++++++++
 gcc/rust/hir/tree/rust-hir-item.h       | 27 ++++++++++++++--
 gcc/rust/privacy/rust-reachability.cc   | 55 ++++++++++++++++++++++++++++++---
 3 files changed, 92 insertions(+), 6 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:32 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:32 [gcc/devel/rust/master] Merge #1118 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).