[libcxx-commits] [libcxx] 0a5c344 - [libc++] Add missing <stdbool.h> to the modulemap
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 8 06:01:14 PDT 2022
Author: Louis Dionne
Date: 2022-08-08T09:00:57-04:00
New Revision: 0a5c344a84a452452185f3a6bd7d7679a42abb42
URL: https://github.com/llvm/llvm-project/commit/0a5c344a84a452452185f3a6bd7d7679a42abb42
DIFF: https://github.com/llvm/llvm-project/commit/0a5c344a84a452452185f3a6bd7d7679a42abb42.diff
LOG: [libc++] Add missing <stdbool.h> to the modulemap
It used to be defined by the compiler, but libc++ now provides it.
Differential Revision: https://reviews.llvm.org/D131201
Added:
Modified:
libcxx/include/module.modulemap.in
Removed:
################################################################################
diff --git a/libcxx/include/module.modulemap.in b/libcxx/include/module.modulemap.in
index 204fe408b1e7..83c6384433ce 100644
--- a/libcxx/include/module.modulemap.in
+++ b/libcxx/include/module.modulemap.in
@@ -59,7 +59,10 @@ module std [system] {
// 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"
More information about the libcxx-commits
mailing list