aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-mapping-common.h
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-08-31 14:39:27 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:04:31 +0100
commit5728f2bf0a583309178a9fbdcc7187d274326c34 (patch)
treecbaf3afc0d300a6087bbd9943c28b928fba861ae /gcc/rust/util/rust-mapping-common.h
parentdc68505f4cedfd06cc72657f3e9d14cc57335362 (diff)
downloadgcc-5728f2bf0a583309178a9fbdcc7187d274326c34.zip
gcc-5728f2bf0a583309178a9fbdcc7187d274326c34.tar.gz
gcc-5728f2bf0a583309178a9fbdcc7187d274326c34.tar.bz2
gccrs: Move function-related methods into base class Backend
gcc/rust/ChangeLog: * rust-backend.h (Backend::function): Make non-virtual. (Backend::function_defer_statement): Likewise. (Backend::function_set_parameters): Likewise. (Backend::write_global_definitions): Likewise. (Backend::write_export_data): Likewise. (Gcc_backend::function): Remove. (Gcc_backend::function_defer_statement): Remove. (Gcc_backend::function_set_parameters): Remove. (Gcc_backend::write_global_definitions): Remove. (Gcc_backend::write_export_data): Remove. * rust-gcc.cc (Gcc_backend::function): Rename to ... (Backend::function): ... here. (Gcc_backend::function_defer_statement): Fix a qualified lookup of Backend::label and rename to ... (Backend::function_defer_statement): ... here. (Gcc_backend::function_set_parameters) Rename to ... (Backend::function_set_parameters): ... here. (Gcc_backend::write_global_definitions): Rename to ... (Backend::write_global_definitions): ... here. (Gcc_backend::write_export_data): Rename to ... (Backend::write_export_data): ... here. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/util/rust-mapping-common.h')
0 files changed, 0 insertions, 0 deletions