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

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

commit b4bd389c66a3e3bf0489626a1a70c2500d415ef8
Merge: e35da26d8ed 3f2d5a720b2
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Fri Mar 4 11:30:52 2022 +0000

    Merge #984
    
    984: Implimented Soluion 1 and solution 2 for issue_734 r=philberty a=mvvsmk
    
    Fixes #734
    Done :
    - [x]  Remove iterate_params function
    - [x] Create new get_params function
    
    Solution 1
    1) Created a new get_params function which returns the parameters.
    2) Changed the references of the iterate_params to use get_params.
    
    Solution 2
    1) Added get_params2 which returns `std::vector<TyTy::BaseType*>`
    2) Changed the references of the iterate_params to use get_params.
    
    Status :
    Currently I have implemented the first solution.
    
    Signed-off-by : M V V S Manoj Kumar <mvvsmanojkumar@gmail.com>
    
    
    Co-authored-by: M V V S Manoj Kumar <mvvsmanojkumar@gmail.com>

Diff:

 gcc/rust/backend/rust-compile-type.cc | 12 +++++++-----
 gcc/rust/typecheck/rust-tyty.cc       | 11 +++++++----
 gcc/rust/typecheck/rust-tyty.h        |  3 +++
 3 files changed, 17 insertions(+), 9 deletions(-)


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

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