]> granicus.if.org Git - clang/commit
[coroutines] Support "coroutines" feature in module map requires clause
authorEric Fiselier <eric@efcs.ca>
Sat, 27 May 2017 02:46:17 +0000 (02:46 +0000)
committerEric Fiselier <eric@efcs.ca>
Sat, 27 May 2017 02:46:17 +0000 (02:46 +0000)
commit438a70fbf0f9ecfce2044b1c6fbf94d1d9bbcb7a
tree465044116f33dc13c679e1a19a0ae6406493aaf8
parent94d20baa26c876d661eb001e18c7f67ae91816b3
[coroutines] Support "coroutines" feature in module map requires clause

Summary: In order for libc++ to add `<experimental/coroutine>` to its module map, there has to be a feature that can be used to detect if coroutines support is enabled in Clang.

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D33538

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304054 91177308-0d34-0410-b5e6-96231b3b80d8
docs/Modules.rst
lib/Basic/Module.cpp
test/Modules/Inputs/DependsOnModule.framework/Headers/coroutines.h [new file with mode: 0644]
test/Modules/Inputs/DependsOnModule.framework/Headers/not_coroutines.h [new file with mode: 0644]
test/Modules/Inputs/DependsOnModule.framework/module.map
test/Modules/requires-coroutines.mm [new file with mode: 0644]