diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-05-25 23:39:29 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-05-25 23:39:29 +0000 |
commit | ea96891fb42866d099188d014169ab147217d4ef (patch) | |
tree | e75d0b66e16edf776dd9732eef13b4def29edd84 /libcxx/include/module.modulemap | |
parent | fed467eefb75e4af9ca1b534019eb5780aaf0984 (diff) | |
download | bcm5719-llvm-ea96891fb42866d099188d014169ab147217d4ef.tar.gz bcm5719-llvm-ea96891fb42866d099188d014169ab147217d4ef.zip |
Re-add <experimental/coroutine> to the module map.
The original issues were caused because <experimental/coroutine>
didn't correctly #ifdef out enough of the header, which caused incomplete
types to be used.
This patch fixes the `#if defined(__cpp_coroutines)` guard and re-adds
the headers to the module map.
It also uglifies some incorrectly non-reserved names.
llvm-svn: 303936
Diffstat (limited to 'libcxx/include/module.modulemap')
-rw-r--r-- | libcxx/include/module.modulemap | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap index ad765c07d48..462d4234ae6 100644 --- a/libcxx/include/module.modulemap +++ b/libcxx/include/module.modulemap @@ -501,12 +501,10 @@ module std [system] { header "experimental/chrono" export * } - // FIXME: This module only works when -fcoroutines-ts is enabled and it - // breaks the modules build otherwise. - // module coroutine { - // header "experimental/coroutine" - // export * - // } + module coroutine { + header "experimental/coroutine" + export * + } module deque { header "experimental/deque" export * |