[clang] [clang] Implement `__is_layout_compatible` (PR #81506)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 04:27:17 PST 2024


================
@@ -90,6 +90,12 @@ C++20 Feature Support
   behavior can use the flag '-Xclang -fno-skip-odr-check-in-gmf'.
   (`#79240 <https://github.com/llvm/llvm-project/issues/79240>`_).
 
+- Implemented `__is_layout_compatible` intrinsic, which backs up
+  `P0466R5: Layout-compatibility and Pointer-interconvertibility Traits <https://wg21.link/P0466R5>`_.
+  `CWG1719: Layout compatibility and cv-qualification revisited  <https://cplusplus.github.io/CWG/issues/1719.html>`_
+  and `CWG2759: [[no_unique_address] and common initial sequence <https://cplusplus.github.io/CWG/issues/2759.html>`_
+  are not yet implemented.
+
----------------
Endilll wrote:

Done

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


More information about the cfe-commits mailing list