diff options
author | Jason Merrill <jason@redhat.com> | 2022-10-28 10:45:06 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-10-28 11:15:35 -0400 |
commit | 38a628f52cf0ff5db6708578248484d50a50b366 (patch) | |
tree | 57ec86ab5641f1b8d07b22bf0280d06e8d3c8a9f /libphobos/src/std/algorithm/internal.d | |
parent | 4fe34cdcc80ac225b80670eabc38ac5e31ce8a5a (diff) | |
download | gcc-38a628f52cf0ff5db6708578248484d50a50b366.zip gcc-38a628f52cf0ff5db6708578248484d50a50b366.tar.gz gcc-38a628f52cf0ff5db6708578248484d50a50b366.tar.bz2 |
c++: apply friend attributes sooner
Comparing attributes between declarations of a friend function has been
complicated by pushdecl happening before decl_attributes. I assumed there
was some complicated reason we weren't calling decl_attributes here, but it
doesn't break anything.
gcc/cp/ChangeLog:
* decl.cc (grokdeclarator): Call decl_attributes before do_friend.
Diffstat (limited to 'libphobos/src/std/algorithm/internal.d')
0 files changed, 0 insertions, 0 deletions