[all-commits] [llvm/llvm-project] 658ec8: [clang] Add test for CWG170 "Pointer-to-member con...
Vlad Serebrennikov via All-commits
all-commits at lists.llvm.org
Mon Jan 13 08:10:53 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 658ec8593b25f2bd05874deab4582b6759e92e40
https://github.com/llvm/llvm-project/commit/658ec8593b25f2bd05874deab4582b6759e92e40
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M clang/test/CXX/drs/cwg1xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add test for CWG170 "Pointer-to-member conversions" (#121667)
This patch adds test for
[CWG170](https://cplusplus.github.io/CWG/issues/170.html). The
resolution adds explicit undefined behavior, so I think the best we can
do is to put the test into constexpr evaluator. Change to
[expr.static.cast] is not tested, because it was a drive-by fix that
removed an impossible case (I confirmed it using minutes). Minutes
mention several times a comprehensive paper in this design space which
no one seem to remember. I believe it's
[P0149R0](https://wg21.link/p0149r0) "Generalised member pointers".
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list