aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/einfo-utils.adb
diff options
context:
space:
mode:
authorAlfie Richards <alfie.richards@arm.com>2025-01-31 10:51:14 +0000
committerAlfie Richards <alfie.richards@arm.com>2025-07-16 09:04:31 +0000
commit13604c5bdca81e1f3e4baa3a348eaec986a8f447 (patch)
treeeb5e615aad78ed7794573a5719def150abe75883 /gcc/ada/einfo-utils.adb
parent869485d7f364f436bab8c8954e20c7779d234690 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
Add get_clone_versions and get_target_version functions.HEADtrunkmaster
This is a reimplementation of get_target_clone_attr_len, get_attr_str, and separate_attrs using string_slice and auto_vec to make memory management and use simpler. Adds get_target_version helper function to get the target_version string from a decl. gcc/c-family/ChangeLog: * c-attribs.cc (handle_target_clones_attribute): Change to use get_clone_versions. gcc/ChangeLog: * tree.cc (get_clone_versions): New function. (get_clone_attr_versions): New function. (get_version): New function. * tree.h (get_clone_versions): New function. (get_clone_attr_versions): New function. (get_target_version): New function.
Diffstat (limited to 'gcc/ada/einfo-utils.adb')
0 files changed, 0 insertions, 0 deletions