diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2018-06-27 20:29:36 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2018-06-27 20:29:36 +0000 |
commit | 03e0d2d82be7dbe5adc2558fc11ad2a1c89a53d3 (patch) | |
tree | 73e8f38a08c692944a6540a18e28d06c42fc1b26 /clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap | |
parent | becac9eb566ceeec020f061815cab5f3a992e650 (diff) | |
download | bcm5719-llvm-03e0d2d82be7dbe5adc2558fc11ad2a1c89a53d3.tar.gz bcm5719-llvm-03e0d2d82be7dbe5adc2558fc11ad2a1c89a53d3.zip |
[Modules][ObjC] Warn on the use of '@import' in framework headers
Using @import in framework headers inhibit the use of such headers
when not using modules, this is specially bad for headers that end
up in the SDK (or any other system framework). Add a warning to give
users some indication that this is discouraged.
rdar://problem/39192894
llvm-svn: 335780
Diffstat (limited to 'clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap')
-rw-r--r-- | clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap b/clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap new file mode 100644 index 00000000000..a38d66863e9 --- /dev/null +++ b/clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap @@ -0,0 +1,2 @@ +// at-import-in-framework-header/module.modulemap +module B {} |