]> granicus.if.org Git - clang/commit
[coroutines] Support "coroutines" feature in module map requires clause
authorEric Fiselier <eric@efcs.ca>
Sun, 28 May 2017 21:07:22 +0000 (21:07 +0000)
committerEric Fiselier <eric@efcs.ca>
Sun, 28 May 2017 21:07:22 +0000 (21:07 +0000)
commit384ca6f633ff738d341efbde857d66dbb10e7ab1
tree5e83a4bef176cf765326dae6d56a696cc132289e
parent1995be1cfda3ccb67b987f449b6c25c728cccc9f
[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@304107 91177308-0d34-0410-b5e6-96231b3b80d8
docs/Modules.rst
lib/Basic/Module.cpp
test/Index/index-module.m
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]