diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-05-04 03:44:35 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-17 16:35:27 +0100 |
commit | 3c1653b7b01cfad21fc1768dbfb6972e108bac30 (patch) | |
tree | b4cf85d1adb403d8f63cfe2579f7485908bd7a5f /gcc/gcov-dump.cc | |
parent | 1d7d56aab77fa53e3cba8a885208a07772d91a76 (diff) | |
download | gcc-3c1653b7b01cfad21fc1768dbfb6972e108bac30.zip gcc-3c1653b7b01cfad21fc1768dbfb6972e108bac30.tar.gz gcc-3c1653b7b01cfad21fc1768dbfb6972e108bac30.tar.bz2 |
gccrs: Change lookup_visibility's return type
Wrap the return type within an optional.
gcc/rust/ChangeLog:
* checks/errors/privacy/rust-privacy-reporter.cc: Change call site
to accomodate new return type.
* checks/errors/privacy/rust-pub-restricted-visitor.cc: Likewise.
* util/rust-hir-map.cc (Mappings::lookup_visibility): 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/gcov-dump.cc')
0 files changed, 0 insertions, 0 deletions