[clang] [C++26] Define the __cpp_pp_embed feature-test macro (PR #236263)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 28 11:10:49 PDT 2026
================
@@ -400,13 +400,13 @@ <h2 id="cxx26">C++2c implementation status</h2>
<tr>
<td><pre>#embed</pre></td>
<td><a href="https://wg21.link/P1967">P1967R14</a></td>
- <td class="partial" align="center">
+ <td class="full" align="center">
<details>
- <summary>Clang 24 (Partial)</summary>
- The directive and its parameters are supported since Clang 19. A
- multi-byte <tt>#embed</tt> in a braced initializer list that initializes
- a non-aggregate object is not yet handled correctly in some contexts, so
- the <tt>__cpp_pp_embed</tt> feature-test macro is not defined yet.
+ <summary>Clang 24</summary>
+ The directive and its parameters are supported since Clang 19; Clang 24
+ fixed the remaining initialization bugs with multi-byte <tt>#embed</tt>
+ in braced lists and defines the <tt>__cpp_pp_embed</tt> feature-test
+ macro.
</details>
----------------
AaronBallman wrote:
Yeah, we need to go with `unreleased` rather than `full` I believe.
https://github.com/llvm/llvm-project/pull/236263
More information about the cfe-commits
mailing list