summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2018-06-27 20:29:36 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2018-06-27 20:29:36 +0000
commit03e0d2d82be7dbe5adc2558fc11ad2a1c89a53d3 (patch)
tree73e8f38a08c692944a6540a18e28d06c42fc1b26 /clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap
parentbecac9eb566ceeec020f061815cab5f3a992e650 (diff)
downloadbcm5719-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.modulemap2
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 {}
OpenPOWER on IntegriCloud