aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-04 04:10:08 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:27 +0100
commitba56cdb52711990414a50dd52c853cefcdd23f53 (patch)
treed738b8c45e78231f8ae2c131774de65d3ee96c7a /gcc/gcov-dump.cc
parent3c1653b7b01cfad21fc1768dbfb6972e108bac30 (diff)
downloadgcc-ba56cdb52711990414a50dd52c853cefcdd23f53.zip
gcc-ba56cdb52711990414a50dd52c853cefcdd23f53.tar.gz
gcc-ba56cdb52711990414a50dd52c853cefcdd23f53.tar.bz2
gccrs: Change lookup_ast_item's return type
Wrap the function's return type within an optional. gcc/rust/ChangeLog: * metadata/rust-export-metadata.cc (ExportContext::emit_trait): Adapt call site to the new return type. (ExportContext::emit_function): Likewise. (ExportContext::emit_macro): Likewise. * util/rust-hir-map.cc (Mappings::lookup_ast_item): Change the function's 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/gcov-dump.cc')
0 files changed, 0 insertions, 0 deletions