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

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 18 08:08:49 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (yronglin)

<details>
<summary>Changes</summary>

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).

---
Full diff: https://github.com/llvm/llvm-project/pull/164095.diff


1 Files Affected:

- (modified) clang/www/cxx_status.html (+8-1) 


``````````diff
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 @@ <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 'A module directive may only appear as
+            the first preprocessing tokens in a file' was supported
+            in clang-21.
+          </details>
+        </td>
       </tr>
       <tr>
         <td><a href="https://wg21.link/p2115r0">P2115R0</a></td>

``````````

</details>


https://github.com/llvm/llvm-project/pull/164095


More information about the cfe-commits mailing list