aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-03 20:48:10 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-05-17 15:28:30 +0000
commite956f3a7bbf0d1e31d15bc46bd3451172a9b8869 (patch)
tree919bcbc5e6b6f0ef11361237c512a34180b25dce /gcc/rust/hir/rust-hir-dump.cc
parent1d8efec4f7b85e8d73eebe24a4667c702b7fb6f2 (diff)
downloadgcc-e956f3a7bbf0d1e31d15bc46bd3451172a9b8869.zip
gcc-e956f3a7bbf0d1e31d15bc46bd3451172a9b8869.tar.gz
gcc-e956f3a7bbf0d1e31d15bc46bd3451172a9b8869.tar.bz2
Change lookup_hir_struct_field return type
Wrap the function's return type within an optional to differentiate between a null pointer and a missing value. gcc/rust/ChangeLog: * util/rust-hir-map.cc (Mappings::insert_hir_struct_field): Change call site to accomodate new return type. (Mappings::lookup_hir_struct_field): 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/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions