aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-03 20:42:06 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:25 +0100
commit2c08ad6c41cedc09401718060911198b025cd1ec (patch)
tree8fa8daac77dae92e7f2b54ee0cd9bae0482ba5e3 /gcc/cppdefault.cc
parentbcc66efaf14af971c080b6128ea30d51c2b41516 (diff)
downloadgcc-2c08ad6c41cedc09401718060911198b025cd1ec.zip
gcc-2c08ad6c41cedc09401718060911198b025cd1ec.tar.gz
gcc-2c08ad6c41cedc09401718060911198b025cd1ec.tar.bz2
gccrs: Change lookup_hir_self_param return type
Wrap the function's return type within an optional in order to differentiate null pointers from missing value. gcc/rust/ChangeLog: * util/rust-hir-map.cc (Mappings::insert_hir_self_param): Adapt call site to new return type. (Mappings::lookup_hir_self_param): 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/cppdefault.cc')
0 files changed, 0 insertions, 0 deletions