diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-04-25 15:39:33 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-05-17 15:28:30 +0000 |
commit | 1be4fa36f08d8c48a78795948615ffcaeb27c8ac (patch) | |
tree | 54391bad103e2ec2cfba8c925baf217dbab62429 /gcc/rust/rust-session-manager.cc | |
parent | 9af30ca752f66063ce199d94e374bb9c7db4e65c (diff) | |
download | gcc-1be4fa36f08d8c48a78795948615ffcaeb27c8ac.zip gcc-1be4fa36f08d8c48a78795948615ffcaeb27c8ac.tar.gz gcc-1be4fa36f08d8c48a78795948615ffcaeb27c8ac.tar.bz2 |
Change return type of lookup_impl_block_type
Change the return type to an optional.
gcc/rust/ChangeLog:
* typecheck/rust-type-util.cc (query_type): Adapt code to accomodate
the new return type.
* util/rust-hir-map.cc (Mappings::lookup_impl_block_type): Change
the function's return type and remove the out pointer argument.
* util/rust-hir-map.h: Update the function's prototype.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
0 files changed, 0 insertions, 0 deletions