[clang] e65522e - [NFC][doc] Mark P1857R3 as partial implemented (#164095)

via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 19 22:18:00 PDT 2025


Author: yronglin
Date: 2025-10-20T13:17:56+08:00
New Revision: e65522e596522faca391eea0adb440542b9f8f15

URL: https://github.com/llvm/llvm-project/commit/e65522e596522faca391eea0adb440542b9f8f15
DIFF: https://github.com/llvm/llvm-project/commit/e65522e596522faca391eea0adb440542b9f8f15.diff

LOG: [NFC][doc] Mark P1857R3 as partial implemented (#164095)

Since the following 2 patches was landed, mark P1857R3 as partial
implemented.

- [[C++][Modules] A module directive may only appear as the first
preprocessing tokens in a
file](https://github.com/llvm/llvm-project/pull/144233).
- [[clang] Allow trivial pp-directives before C++ module
directive](https://github.com/llvm/llvm-project/pull/153641).

---------

Signed-off-by: yronglin <yronglin777 at gmail.com>
Co-authored-by: h-vetinari <h.vetinari at gmx.com>
Co-authored-by: Hubert Tong <hubert.reinterpretcast at gmail.com>

Added: 
    

Modified: 
    clang/www/cxx_status.html

Removed: 
    


################################################################################
diff  --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html
index a35e50150a2ab..2618ff930a0e4 100755
--- a/clang/www/cxx_status.html
+++ b/clang/www/cxx_status.html
@@ -926,7 +926,14 @@ <h2 id="cxx20">C++20 implementation status</h2>
       </tr>
       <tr>
         <td><a href="https://wg21.link/p1857r3">P1857R3</a></td>
-        <td class="none" align="center">No</td>
+        <td class="partial" align="center">
+          <details>
+            <summary>Clang 21 (Partial)</summary>
+            The restriction that "[a] module directive may only appear
+            as the first preprocessing tokens in a file" is enforced
+            starting in Clang 21.
+          </details>
+        </td>
       </tr>
       <tr>
         <td><a href="https://wg21.link/p2115r0">P2115R0</a></td>


        


More information about the cfe-commits mailing list