Files
llvm-project/clang/test/Modules/Inputs/DependsOnModule.framework/module.map
Ben Langmuir 532d2104ce Add cc1 option '-fmodule-feature' to add custom values for 'requires' decls
This allows clang-based tools to specify custom features that can be
tested by the 'requires' declaration in a module map file.

llvm-svn: 227868
2015-02-02 21:56:15 +00:00

34 lines
595 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 framework module SubFramework {
umbrella header "SubFramework.h"
module * {
export *
}
}
}