aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2023-09-24 15:33:00 +0100
committerJason Merrill <jason@redhat.com>2023-10-17 17:20:02 -0400
commitbac21b7ea62bd3a7911e01cf803d6bf6516fbf7b (patch)
treefc614d1defba83ce75b76909897c579b868526bd /gcc/function.cc
parent4f8700078c8e7d8b9c2022c77b0da007810deb0f (diff)
downloadgcc-bac21b7ea62bd3a7911e01cf803d6bf6516fbf7b.zip
gcc-bac21b7ea62bd3a7911e01cf803d6bf6516fbf7b.tar.gz
gcc-bac21b7ea62bd3a7911e01cf803d6bf6516fbf7b.tar.bz2
c++: mangling tweaks
Most of this is introducing the abi_check function to reduce the verbosity of most places that check -fabi-version. The start_mangling change is to avoid needing to zero-initialize additional members of the mangling globals, though I'm not actually adding any. The comment documents existing semantics. gcc/cp/ChangeLog: * mangle.cc (abi_check): New. (write_prefix, write_unqualified_name, write_discriminator) (write_type, write_member_name, write_expression) (write_template_arg, write_template_param): Use it. (start_mangling): Assign from {}. * cp-tree.h: Update comment.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions