[libcxx-commits] [PATCH] D125331: [libc++] Encode the dependency of <stdatomic.h> on C++23 in the modulemap

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 10 12:28:45 PDT 2022


ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125331

Files:
  libcxx/include/module.modulemap


Index: libcxx/include/module.modulemap
===================================================================
--- libcxx/include/module.modulemap
+++ libcxx/include/module.modulemap
@@ -51,6 +51,7 @@
       export *
     }
     module stdatomic_h {
+      requires cplusplus23
       header "stdatomic.h"
       export *
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125331.428465.patch
Type: text/x-patch
Size: 325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220510/a2db5abf/attachment.bin>


More information about the libcxx-commits mailing list