summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/io
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-11-19 11:02:13 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2025-11-19 11:03:07 +0100
commit3d000da53203c9f17b29dd9328d12dfcbe8d03aa (patch)
tree21538521b8b4299d65fc6c7428c05baacf884776 /libjava/classpath/java/io
parent5294e0a0b40674365d8f9190fc1d9c456ea8c150 (diff)
c++, libstdc++: Implement CWG1670 and LWG4468
The following patch attempts to implement CWG1670 and related LWG4468. 2025-11-19 Jakub Jelinek <jakub@redhat.com> gcc/cp/ * parser.cc (cp_parser_conversion_type_id): Implement C++ DR1670 - auto as conversion-type-id. Pedwarn on conversion operators with placeholder return type. gcc/testsuite/ * g++.dg/DRs/dr1670-1.C: New test. * g++.dg/DRs/dr1670-2.C: New test. * g++.dg/DRs/dr1670-3.C: New test. * g++.dg/modules/auto-1_a.H: Use dg-options instead of dg-additional-options. * g++.dg/modules/auto-1_b.C: Likewise. * g++.dg/cpp1y/auto-fn12.C: Likewise. * g++.dg/cpp1y/auto-fn13.C: Add empty dg-options. * g++.dg/cpp1y/auto-fn22.C: Likewise. * g++.dg/cpp1y/constexpr-assert2.C: Likewise. * g++.dg/cpp1y/auto-fn44.C: Add dg-options -Wpedantic and expect further warnings. * g++.dg/cpp1y/auto-fn50.C: Likewise. * g++.dg/cpp0x/auto9.C: Expect two errors always rather than just for C++11. libstdc++-v3/ * include/std/type_traits (constant_wrapper conversion operator): Use decltype(value) instead of decltype(auto). Resolves LWG4468.
Diffstat (limited to 'libjava/classpath/java/io')
0 files changed, 0 insertions, 0 deletions