diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-04-26 12:02:53 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:24 +0100 |
commit | 1d6389b2916e9e285d16ab1d3cb8b7d6650d7cd6 (patch) | |
tree | c9a44d466633aed5c15c537c1a1f05599e837a27 /gcc/diagnostic-buffer.h | |
parent | 520a61b1dc7fdc072c825a687749316ed698f926 (diff) | |
download | gcc-1d6389b2916e9e285d16ab1d3cb8b7d6650d7cd6.zip gcc-1d6389b2916e9e285d16ab1d3cb8b7d6650d7cd6.tar.gz gcc-1d6389b2916e9e285d16ab1d3cb8b7d6650d7cd6.tar.bz2 |
gccrs: Change return type of lookup_defid
Change the return type to an optional.
gcc/rust/ChangeLog:
* backend/rust-compile-base.cc (HIRCompileBase::resolve_method_address):
Change calling code to accomodate new return type.
* checks/errors/privacy/rust-privacy-reporter.cc:
Likewise.
* typecheck/rust-hir-type-check-base.cc (TypeCheckBase::get_marker_predicate):
Likewise.
* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit):
Likewise.
* typecheck/rust-tyty-bounds.cc (TypeBoundsProbe::assemble_builtin_candidate):
Likewise.
* typecheck/rust-tyty.cc (ClosureType::setup_fn_once_output): Likewise.
* util/rust-hir-map.cc (Mappings::lookup_defid): Change function's
return type.
* util/rust-hir-map.h: Update function's prototype.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/diagnostic-buffer.h')
0 files changed, 0 insertions, 0 deletions