aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-03 20:55:01 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:26 +0100
commit19ed0a94fa485fbe9c388713c4cdb2bf633a1b86 (patch)
tree573335b38f750fd2757f5fd6713c0986eeb8b7d8 /gcc/gcov-dump.cc
parent058d76b9a84d70565743bec6513f1a86293ced2e (diff)
downloadgcc-19ed0a94fa485fbe9c388713c4cdb2bf633a1b86.zip
gcc-19ed0a94fa485fbe9c388713c4cdb2bf633a1b86.tar.gz
gcc-19ed0a94fa485fbe9c388713c4cdb2bf633a1b86.tar.bz2
gccrs: Change lookup_hir_pattern return type
Wrap the function's return type within an optional in order to differentiate between a null pointer and a missing value. gcc/rust/ChangeLog: * util/rust-hir-map.cc (Mappings::insert_hir_pattern): Change call site in order to accomodate new return type. (Mappings::lookup_hir_pattern): 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