aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-buffer.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-03 14:54:06 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:25 +0100
commitf7031e6a2cefc31f38604189ff3d98af2321aebb (patch)
treec9c34f4d078a1b540da684efbf2f6e9a74b2990b /gcc/diagnostic-buffer.h
parentd75c82ef1750a60c6cbdd41f01ed814a07faaeec (diff)
downloadgcc-f7031e6a2cefc31f38604189ff3d98af2321aebb.zip
gcc-f7031e6a2cefc31f38604189ff3d98af2321aebb.tar.gz
gcc-f7031e6a2cefc31f38604189ff3d98af2321aebb.tar.bz2
gccrs: Change return type to optional in get_lang_item
Wrap the function's return type with an optional. gcc/rust/ChangeLog: * typecheck/rust-autoderef.cc: Adapt calling code to new return type. * typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit): Likewise. (TypeCheckExpr::resolve_operator_overload): 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::get_lang_item): Change return type. * 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/diagnostic-buffer.h')
0 files changed, 0 insertions, 0 deletions