aboutsummaryrefslogtreecommitdiff
path: root/clang/www
diff options
context:
space:
mode:
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>2024-03-06 11:46:35 +0300
committerGitHub <noreply@github.com>2024-03-06 09:46:35 +0100
commitaced81c0a5bf30dda99fde2e28364426de4c18d3 (patch)
treebb0340c4fabca6fe5253bafeba3931366dc04065 /clang/www
parent6cdf596c52f028ea7d150e0696f967fbff443ccf (diff)
downloadllvm-aced81c0a5bf30dda99fde2e28364426de4c18d3.zip
llvm-aced81c0a5bf30dda99fde2e28364426de4c18d3.tar.gz
llvm-aced81c0a5bf30dda99fde2e28364426de4c18d3.tar.bz2
[C23] Implement N3018: The constexpr specifier for object definitions (#73099)
The implementation mostly reuses C++ code paths where possible, including narrowing check in order to provide diagnostic messages in case initializer for constexpr variable is not exactly representable in target type. The following won't work due to lack of support for other features: - Diagnosing of underspecified declarations involving constexpr - Constexpr attached to compound literals Also due to lack of support for char8_t some of examples with utf-8 strings don't work properly. Fixes https://github.com/llvm/llvm-project/issues/64742
Diffstat (limited to 'clang/www')
-rw-r--r--clang/www/c_status.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/www/c_status.html b/clang/www/c_status.html
index 3955a1d..7bf5e29 100644
--- a/clang/www/c_status.html
+++ b/clang/www/c_status.html
@@ -1201,7 +1201,7 @@ conformance.</p>
<tr>
<td>constexpr for object definitions</td>
<td><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3018.htm">N3018</a></td>
- <td class="none" align="center">No</td>
+ <td class="unreleased" align="center">Clang 19</td>
</tr>
<tr>
<td>Introduce storage class specifiers for compound literals</td>