diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-03 23:17:43 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:26 +0100 |
commit | 80c44d211c0d57f6e34f6dc57599ec6754e19f27 (patch) | |
tree | 9010e6013f29beb4f7e98db8bacf42845647c099 /gcc/gcov-dump.cc | |
parent | 19ed0a94fa485fbe9c388713c4cdb2bf633a1b86 (diff) | |
download | gcc-80c44d211c0d57f6e34f6dc57599ec6754e19f27.zip gcc-80c44d211c0d57f6e34f6dc57599ec6754e19f27.tar.gz gcc-80c44d211c0d57f6e34f6dc57599ec6754e19f27.tar.bz2 |
gccrs: Change lookup_canonical_path's return path
Change the function's return type to wrap it within an optional.
gcc/rust/ChangeLog:
* backend/rust-compile-base.cc: Change call site to accomodate new
return type.
* backend/rust-compile-base.h: Change parameter to use a reference.
* backend/rust-compile-extern.h: Likewise.
* backend/rust-compile-implitem.cc (CompileTraitItem::visit):
Change call site for new return type.
* backend/rust-compile-item.cc (CompileItem::visit): Likewise.
* resolve/rust-ast-resolve-type.cc (ResolveTypeToCanonicalPath::visit):
Likewise.
* typecheck/rust-hir-type-check-enumitem.cc (TypeCheckEnumItem::visit):
Likewise.
* typecheck/rust-hir-type-check-implitem.cc (TypeCheckImplItem::visit):
Likewise.
* typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit):
Likewise.
* typecheck/rust-hir-type-check.cc (TraitItemReference::get_type_from_fn):
Likewise.
* util/rust-hir-map.h: Update the function's prototype and change the
function's return type.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/gcov-dump.cc')
0 files changed, 0 insertions, 0 deletions