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 llvm-svn: 304107
41 lines
772 B
Plaintext
41 lines
772 B
Plaintext
framework module DependsOnModule {
|
|
umbrella header "DependsOnModule.h"
|
|
header "other.h"
|
|
module * {
|
|
export *
|
|
}
|
|
explicit module CXX {
|
|
requires cplusplus
|
|
header "cxx_other.h"
|
|
}
|
|
explicit module NotCXX {
|
|
requires !cplusplus
|
|
header "not_cxx.h"
|
|
}
|
|
explicit module NotObjC {
|
|
requires !objc
|
|
header "not_objc.h"
|
|
}
|
|
explicit module CustomReq1 {
|
|
requires custom_req1
|
|
}
|
|
explicit module CustomReq2 {
|
|
requires custom_req2
|
|
}
|
|
explicit module Coroutines {
|
|
requires coroutines
|
|
header "coroutines.h"
|
|
}
|
|
explicit module NotCoroutines {
|
|
requires !coroutines
|
|
header "not_coroutines.h"
|
|
}
|
|
explicit framework module SubFramework {
|
|
umbrella header "SubFramework.h"
|
|
|
|
module * {
|
|
export *
|
|
}
|
|
}
|
|
}
|