]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: TyTy: Store reference to type before any substitutions
authorJakub Dupak <dev@jakubdupak.com>
Tue, 23 Jan 2024 13:50:57 +0000 (14:50 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 7 Feb 2024 11:40:22 +0000 (12:40 +0100)
commit99fccb3eee81b3593bc5e538b4ba17dff6724c05
treeaec69cb97cafbbdfde5b31d2c313280b7b5a8de7
parentf21729216f251af9b5f51ff6fd435d4634163c55
gccrs: TyTy: Store reference to type before any substitutions

gcc/rust/ChangeLog:

* typecheck/rust-tyty.cc (BaseType::BaseType): Store orig ref.
(BaseType::get_orig_ref): Add getter.
* typecheck/rust-tyty.h: Store orig ref.

Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
gcc/rust/typecheck/rust-tyty.cc
gcc/rust/typecheck/rust-tyty.h