aboutsummaryrefslogtreecommitdiff
path: root/clang/www
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2024-03-13 21:53:38 +0000
committerGitHub <noreply@github.com>2024-03-13 21:53:38 +0000
commit003e292f9895a9cf4e30688269efa668d1fcbb09 (patch)
tree55089f2a0276ac23bbe2cb8dbb015b0838ea0ac9 /clang/www
parentaf964c7e31f0728e84c97b734933fcb9a1912bce (diff)
downloadllvm-003e292f9895a9cf4e30688269efa668d1fcbb09.zip
llvm-003e292f9895a9cf4e30688269efa668d1fcbb09.tar.gz
llvm-003e292f9895a9cf4e30688269efa668d1fcbb09.tar.bz2
Revert "[Clang][C++23] Implement P2448R2 ..." (#85136)
Revert "[Clang][C++23] Implement P2448R2: Relaxing some constexpr restrictions (#77753)" This reverts commit 99500e8c08a4d941acb8a7eb00523296fb2acf7a because it causes a behavior change for std=c++20. See https://github.com/llvm/llvm-project/pull/77753.
Diffstat (limited to 'clang/www')
-rwxr-xr-xclang/www/cxx_status.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html
index 1e36b903..fe3fc09 100755
--- a/clang/www/cxx_status.html
+++ b/clang/www/cxx_status.html
@@ -356,7 +356,14 @@ C++23, informally referred to as C++26.</p>
<tr>
<td>Relaxing some constexpr restrictions</td>
<td><a href="https://wg21.link/P2448R2">P2448R2</a></td>
- <td class="unreleased" align="center">Clang 19</td>
+ <td class="partial" align="center">
+ <details><summary>Clang 17 (Partial)</summary>
+ We do not support outside of defaulted special memeber functions the change that constexpr functions no
+ longer have to be constexpr compatible but rather support a less restricted requirements for constexpr
+ functions. Which include allowing non-literal types as return values and parameters, allow calling of
+ non-constexpr functions and constructors.
+ </details></td>
+ </td>
</tr>
<tr>
<td>Using unknown pointers and references in constant expressions</td>