aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-prefetch.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-03 20:34:58 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:25 +0100
commitbcc66efaf14af971c080b6128ea30d51c2b41516 (patch)
treed3f1d12d113ce759b657d2666976d001df53a85c /gcc/tree-ssa-loop-prefetch.cc
parent8f8d6d1a03ecca39928f98b8045e278bee665b78 (diff)
downloadgcc-bcc66efaf14af971c080b6128ea30d51c2b41516.zip
gcc-bcc66efaf14af971c080b6128ea30d51c2b41516.tar.gz
gcc-bcc66efaf14af971c080b6128ea30d51c2b41516.tar.bz2
gccrs: Change lookup_hir_param return type with optional
Wrap the function's return type within an optional to differentiate between a null ppointer and a missing value. gcc/rust/ChangeLog: * util/rust-hir-map.cc (Mappings::insert_hir_param): Change call site to accomodate new return type. (Mappings::lookup_hir_param): Change the function's return type. * util/rust-hir-map.h: Updat ethe function's prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions