projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8358ddb
)
[libc++] Give headers that require C++14 a cplusplus14 requires in the modulemap
author
Raphael Isemann
<teemperor@gmail.com>
Mon, 24 Feb 2020 19:20:54 +0000
(20:20 +0100)
committer
Raphael Isemann
<teemperor@gmail.com>
Mon, 24 Feb 2020 19:20:55 +0000
(20:20 +0100)
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.
libcxx/include/module.modulemap
patch
|
blob
|
history
diff --git
a/libcxx/include/module.modulemap
b/libcxx/include/module.modulemap
index
698cc19
..
535785b
100644
(file)
--- a/
libcxx/include/module.modulemap
+++ b/
libcxx/include/module.modulemap
@@
-232,6
+232,7
@@
module std [system] {
export *
}
module barrier {
+ requires cplusplus14
header "barrier"
export *
}
@@
-339,6
+340,7
@@
module std [system] {
export *
}
module latch {
+ requires cplusplus14
header "latch"
export *
}
@@
-409,6
+411,7
@@
module std [system] {
export *
}
module semaphore {
+ requires cplusplus14
header "semaphore"
export *
}