aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-12-02 13:49:55 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2023-12-02 13:49:55 +0000
commitdf4643f90c45db2501c731d4fded60dc1426b484 (patch)
tree07bf19d5e16ea2972ea7571db023bd66524a6196 /gcc/function.h
parentf8135a5aefe7c9f79b7d6b416a2bb6cb5ac0b134 (diff)
downloadgcc-df4643f90c45db2501c731d4fded60dc1426b484.zip
gcc-df4643f90c45db2501c731d4fded60dc1426b484.tar.gz
gcc-df4643f90c45db2501c731d4fded60dc1426b484.tar.bz2
attribs: Namespace-aware lookup_attribute_spec
attribute_ignored_p already used a namespace-aware query to find the attribute_spec for an existing attribute: const attribute_spec *as = lookup_attribute_spec (TREE_PURPOSE (attr)); This patch does the same for other callers in the file. gcc/ * attribs.cc (comp_type_attributes): Pass the full TREE_PURPOSE to lookup_attribute_spec, rather than just the name. (remove_attributes_matching): Likewise.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions