From a9f97702c9e34b50c6868ccfe76ad5b9ef3a6b88 Mon Sep 17 00:00:00 2001 From: yronglin Date: Sat, 18 Oct 2025 23:04:53 +0800 Subject: [PATCH 1/3] [NFC][doc] Mark P1857R3 as partial implemented Signed-off-by: yronglin --- clang/www/cxx_status.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index a35e50150a2ab..9f4287b68d9ef 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -926,7 +926,14 @@

C++20 implementation status

P1857R3 - No + +
+ >Clang 21(Partial) + The restriction 'A module directive may only appear as + the first preprocessing tokens in a file' was supported + in clang-21. +
+ P2115R0 From 03dd881543bf125027ab8b0722197bd8bbf6ee39 Mon Sep 17 00:00:00 2001 From: yronglin Date: Mon, 20 Oct 2025 11:30:03 +0800 Subject: [PATCH 2/3] Update clang/www/cxx_status.html Co-authored-by: h-vetinari --- clang/www/cxx_status.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index 9f4287b68d9ef..8085bbfef77b1 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -928,7 +928,7 @@

C++20 implementation status

P1857R3
- >Clang 21(Partial) + Clang 21 (Partial) The restriction 'A module directive may only appear as the first preprocessing tokens in a file' was supported in clang-21. From 743f5fa87d71e723a7ac86dd2b2ad74608aed9cd Mon Sep 17 00:00:00 2001 From: yronglin Date: Mon, 20 Oct 2025 11:30:13 +0800 Subject: [PATCH 3/3] Update clang/www/cxx_status.html Co-authored-by: Hubert Tong --- clang/www/cxx_status.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index 8085bbfef77b1..2618ff930a0e4 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -929,9 +929,9 @@

C++20 implementation status

Clang 21 (Partial) - The restriction 'A module directive may only appear as - the first preprocessing tokens in a file' was supported - in clang-21. + The restriction that "[a] module directive may only appear + as the first preprocessing tokens in a file" is enforced + starting in Clang 21.