aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-buffer.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-04-25 16:00:23 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:24 +0100
commitddd0fb9e4bc725ba38396b36bfca0b143cb342f1 (patch)
treeeb972a6e29f9b3fa79f15f0fe78ca69bca234d42 /gcc/diagnostic-buffer.h
parentead5584a07347847fea93fb5df7ba28fbce1b735 (diff)
downloadgcc-ddd0fb9e4bc725ba38396b36bfca0b143cb342f1.zip
gcc-ddd0fb9e4bc725ba38396b36bfca0b143cb342f1.tar.gz
gcc-ddd0fb9e4bc725ba38396b36bfca0b143cb342f1.tar.bz2
gccrs: Change return type of lookup_crate_name
Change the function's return type to use an optional. gcc/rust/ChangeLog: * resolve/rust-ast-resolve-toplevel.h: Adapt the code to the new return type. * resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit): Likewise. * rust-session-manager.cc (Session::load_extern_crate): Likewise. * util/rust-hir-map.cc (Mappings::lookup_crate_name): Change the return type to an optional. * 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/diagnostic-buffer.h')
0 files changed, 0 insertions, 0 deletions