diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-12-02 13:49:54 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-12-02 13:49:54 +0000 |
commit | f8135a5aefe7c9f79b7d6b416a2bb6cb5ac0b134 (patch) | |
tree | 4be90c9b72f9565fa7b6362d7a1bcbca3d96b1aa /gcc/function.h | |
parent | 3956f5146dc13aa72977c222cfe472ba1e92834c (diff) | |
download | gcc-f8135a5aefe7c9f79b7d6b416a2bb6cb5ac0b134.zip gcc-f8135a5aefe7c9f79b7d6b416a2bb6cb5ac0b134.tar.gz gcc-f8135a5aefe7c9f79b7d6b416a2bb6cb5ac0b134.tar.bz2 |
attribs: Consider namespaces when comparing attributes
decl_attributes and comp_type_attributes both had code that
iterated over one list of attributes and looked for coresponding
attributes in another list. This patch makes those lookups
namespace-aware.
gcc/
* attribs.cc (find_same_attribute): New function.
(decl_attributes, comp_type_attributes): Use it when looking
up one list's attributes in another list.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions