diff options
author | Alfie Richards <alfie.richards@arm.com> | 2025-01-31 10:51:14 +0000 |
---|---|---|
committer | Alfie Richards <alfie.richards@arm.com> | 2025-07-16 09:04:31 +0000 |
commit | 13604c5bdca81e1f3e4baa3a348eaec986a8f447 (patch) | |
tree | eb5e615aad78ed7794573a5719def150abe75883 /gcc/ada/libgnarl/s-linux__android-arm.ads | |
parent | 869485d7f364f436bab8c8954e20c7779d234690 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
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/libgnarl/s-linux__android-arm.ads')
0 files changed, 0 insertions, 0 deletions