[all-commits] [llvm/llvm-project] 50c510: [clang] Add tests for DRs about inheriting constru...
Vlad Serebrennikov via All-commits
all-commits at lists.llvm.org
Fri Feb 9 07:20:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50c5107f42a88a1d2ab66dc6cd1f2cfee6707f7d
https://github.com/llvm/llvm-project/commit/50c5107f42a88a1d2ab66dc6cd1f2cfee6707f7d
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-02-09 (Fri, 09 Feb 2024)
Changed paths:
M clang/test/CXX/drs/dr11xx.cpp
M clang/test/CXX/drs/dr14xx.cpp
M clang/test/CXX/drs/dr15xx.cpp
M clang/test/CXX/drs/dr17xx.cpp
M clang/test/CXX/drs/dr22xx.cpp
M clang/test/CXX/drs/dr23xx.cpp
A clang/test/CXX/drs/dr2504.cpp
M clang/test/CXX/drs/dr25xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add tests for DRs about inheriting constructors (#79981)
Covers CWG issues
[1150](https://cplusplus.github.io/CWG/issues/1150.html),
[1487](https://cplusplus.github.io/CWG/issues/1487.html),
[1567](https://cplusplus.github.io/CWG/issues/1567.html),
[1738](https://cplusplus.github.io/CWG/issues/1738.html),
[2273](https://cplusplus.github.io/CWG/issues/2273.html),
[2277](https://cplusplus.github.io/CWG/issues/2277.html),
[2356](https://cplusplus.github.io/CWG/issues/2356.html),
[2504](https://cplusplus.github.io/CWG/issues/2504.html).
On top of the wording in proposed resolutions,
[P0136R1](https://wg21.link/p0136r1) "Rewording inheriting constructors
(core issue 1941 et al)" is a very relevant paper.
Note that status for 1738 `sup P0136R1` is not officially recognized by
CWG, but saying `yes` or `no` seems even more confusing to me. Official
resolution is to reject certain code, but Clang is the only
implementation that still rejects it to this day:
https://godbolt.org/z/b1W8jc1o5. GCC rejected it until 9, now it's
accepted: https://godbolt.org/z/of6oh4sdT
More information about the All-commits
mailing list