diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-11-03 15:54:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 15:54:51 +0000 |
commit | 674221a3b27f5455fddc793ec9aaf30a4d858ecb (patch) | |
tree | a2e847b9bedd6b3e46550d1b0c370092f28547e0 /gcc/rust/parse/rust-parse-impl.h | |
parent | 5f0df4812c37fc428b5508e019e9fb7f8a7b77b1 (diff) | |
parent | c8ee62ed4535cfa314f12535a3cbbe3cc135872d (diff) | |
download | gcc-674221a3b27f5455fddc793ec9aaf30a4d858ecb.zip gcc-674221a3b27f5455fddc793ec9aaf30a4d858ecb.tar.gz gcc-674221a3b27f5455fddc793ec9aaf30a4d858ecb.tar.bz2 |
Merge #791
791: Replace TyTy::TupleType::iterate_fields with a new function get_fields r=philberty a=cls
This PR replaces TyTy::TupleType::iterate_fields with a new function get_fields.
In #735, `@philberty` mentions two possible implementations of get_fields, one that returns `std::vector<TyVar>&` and one that returns a new `std::vector<BaseType *>`. I've included two commits, the first doing the former and second going on to do the latter. I'm happy with one or both being merged.
This is my first PR, so please let me know if I've missed anything! Thanks.
Fixes #735
Co-authored-by: Connor Lane Smith <cls@lubutu.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions