[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
Thu Aug 4 13:58:06 PDT 2022
ldionne created this revision.
ldionne added a reviewer: zoecarver.
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++.
It used to be defined by the compiler, but libc++ now provides it.
Repository:
rG LLVM Github Monorepo
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.450127.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220804/592a2b8d/attachment.bin>
More information about the libcxx-commits
mailing list