aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2024-11-23 10:00:18 +0100
committerJason Merrill <jason@redhat.com>2025-01-11 01:26:58 -0500
commitfdabd93cde4aae38d6a67fe0927eca8cea1b22b9 (patch)
treea16be44750554e8cc83d0707c12dea6249e195c2 /libphobos/src/std
parentf30423ea8c2152dcee91056e75a4f3736cce6a6e (diff)
downloadgcc-fdabd93cde4aae38d6a67fe0927eca8cea1b22b9.zip
gcc-fdabd93cde4aae38d6a67fe0927eca8cea1b22b9.tar.gz
gcc-fdabd93cde4aae38d6a67fe0927eca8cea1b22b9.tar.bz2
c++: modules and class attributes
std/time/traits/is_clock.cc was getting a warning about applying the deprecated attribute to a variant of auto_ptr, which was wrong because it's on the primary type. This turned out to be because we were ignoring the attributes on the definition of auto_ptr because the forward declaration in unique_ptr.h has no attributes. We need to merge attributes as usual in a redeclaration. gcc/cp/ChangeLog: * module.cc (trees_in::decl_value): Merge attributes. gcc/testsuite/ChangeLog: * g++.dg/modules/attrib-1_a.C: New test. * g++.dg/modules/attrib-1_b.C: New test.
Diffstat (limited to 'libphobos/src/std')
0 files changed, 0 insertions, 0 deletions