[libcxx-commits] [PATCH] D131201: [libc++] Add missing <stdbool.h> to the modulemap

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 8 06:01:20 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0a5c344a84a4: [libc++] Add missing <stdbool.h> to the modulemap (authored by ldionne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131201/new/

https://reviews.llvm.org/D131201

Files:
  libcxx/include/module.modulemap.in


Index: libcxx/include/module.modulemap.in
===================================================================
--- libcxx/include/module.modulemap.in
+++ libcxx/include/module.modulemap.in
@@ -59,7 +59,10 @@
     // FIXME: <stdalign.h> is missing.
     // <signal.h> provided by C library.
     // <stdarg.h> provided by compiler.
-    // <stdbool.h> provided by compiler.
+    module stdbool_h {
+      // <stdbool.h>'s __bool_true_false_are_defined macro requires textual inclusion.
+      textual header "stdbool.h"
+    }
     module stddef_h {
       // <stddef.h>'s __need_* macros require textual inclusion.
       textual header "stddef.h"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131201.450777.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220808/68c08bd0/attachment-0001.bin>


More information about the libcxx-commits mailing list