[libc++] Give headers that require C++14 a cplusplus14 requires in the modulemap
https://reviews.llvm.org/D68480 added those headers and made the std module
only usable with C++14 or later as the submodules were not marked as requiring
C++14 or later. This just adds the missing requires directives.
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: b61e83eb0e31c1e6006569b43bb98a61ff44ca4c
diff --git a/include/module.modulemap b/include/module.modulemap
index 698cc19..535785b 100644
--- a/include/module.modulemap
+++ b/include/module.modulemap
@@ -232,6 +232,7 @@
export *
}
module barrier {
+ requires cplusplus14
header "barrier"
export *
}
@@ -339,6 +340,7 @@
export *
}
module latch {
+ requires cplusplus14
header "latch"
export *
}
@@ -409,6 +411,7 @@
export *
}
module semaphore {
+ requires cplusplus14
header "semaphore"
export *
}