diff options
| author | Ben Langmuir <blangmuir@apple.com> | 2015-02-02 21:56:15 +0000 |
|---|---|---|
| committer | Ben Langmuir <blangmuir@apple.com> | 2015-02-02 21:56:15 +0000 |
| commit | 532d2104cedf624924309ecd53a3b9216147ac0d (patch) | |
| tree | 6ad9e93df232710f00e55d51e93e25ee903cc0d0 /clang/test/Modules/Inputs/DependsOnModule.framework | |
| parent | e4716e65b3498968cfdb236c478e2f6211e8b276 (diff) | |
| download | bcm5719-llvm-532d2104cedf624924309ecd53a3b9216147ac0d.tar.gz bcm5719-llvm-532d2104cedf624924309ecd53a3b9216147ac0d.zip | |
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
Diffstat (limited to 'clang/test/Modules/Inputs/DependsOnModule.framework')
| -rw-r--r-- | clang/test/Modules/Inputs/DependsOnModule.framework/module.map | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/DependsOnModule.framework/module.map b/clang/test/Modules/Inputs/DependsOnModule.framework/module.map index 5a1cacaad2a..b62308583df 100644 --- a/clang/test/Modules/Inputs/DependsOnModule.framework/module.map +++ b/clang/test/Modules/Inputs/DependsOnModule.framework/module.map @@ -16,6 +16,12 @@ framework module DependsOnModule { 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" |

