diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-04 03:21:27 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-05-17 15:28:30 +0000 |
commit | 435f227c2501d1d5a72905d30a5a90848be11481 (patch) | |
tree | 2309125e98d0292cefc4a38bcf5819862726cb57 /gcc/rust/hir/rust-hir-dump.cc | |
parent | c3493829b74bade43a6a9bc83520066c9a3c9e09 (diff) | |
download | gcc-435f227c2501d1d5a72905d30a5a90848be11481.zip gcc-435f227c2501d1d5a72905d30a5a90848be11481.tar.gz gcc-435f227c2501d1d5a72905d30a5a90848be11481.tar.bz2 |
Change lookup_macro_invocation's return type
Wrap the function's return type within an optional and remove the out
reference argument.
gcc/rust/ChangeLog:
* expand/rust-macro-expand.cc (MacroExpander::expand_invoc): Adapt
the function call to match its new prototype.
* resolve/rust-early-name-resolver-2.0.cc (Early::insert_once):
Likewise.
(Early::visit): Likewise.
* resolve/rust-early-name-resolver.cc (EarlyNameResolver::visit):
Likewise.
* util/rust-hir-map.cc (Mappings::lookup_macro_invocation): 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