aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/os/gnu-linux
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-07-04 21:19:52 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2025-07-07 21:50:51 +0100
commited912b1ee5ad0f241f968d5fd1a54a7e9e0e20dd (patch)
tree8d0629fabaacb960a908d42d3374cb3d374ee1f3 /libstdc++-v3/config/os/gnu-linux
parent5ca5e1d54f237770ef5f32ff20c69711f720551c (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
libstdc++: Fix attribute order on __normal_iterator friends [PR120949]HEADtrunkmaster
In r16-1911-g6596f5ab746533 I claimed to have reordered some attributes for compatibility with Clang, but it looks like I got the Clang restriction backwards and put them all in the wrong order. Clang trunk accepts either order (probably since the llvm/llvm-project#133107 fix) but released versions still require a particular order. There were also some cases where the attributes were after the friend keyword, which Clang trunk still rejects. libstdc++-v3/ChangeLog: PR libstdc++/120949 * include/bits/stl_iterator.h (__normal_iterator): Fix order of always_inline and nodiscard attributes for Clang compatibility.
Diffstat (limited to 'libstdc++-v3/config/os/gnu-linux')
0 files changed, 0 insertions, 0 deletions