diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-07-04 21:19:52 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-07-07 21:50:51 +0100 |
commit | ed912b1ee5ad0f241f968d5fd1a54a7e9e0e20dd (patch) | |
tree | 8d0629fabaacb960a908d42d3374cb3d374ee1f3 /gcc/testsuite/c-c++-common/cpp/Wheader-guard-1-7.h | |
parent | 5ca5e1d54f237770ef5f32ff20c69711f720551c (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
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 'gcc/testsuite/c-c++-common/cpp/Wheader-guard-1-7.h')
0 files changed, 0 insertions, 0 deletions