summaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/Rmodule-import/A.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2019-03-06 02:50:46 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2019-03-06 02:50:46 +0000
commit6c5acd1a62ec566ec4f64ecb038bcadba367da7c (patch)
treee8af42d6e28c7196adcc7521c510691028d94832 /test/Modules/Inputs/Rmodule-import/A.h
parentad9a67e1f7dae24e41d70541d09019900ec029cd (diff)
Modules: Add -Rmodule-import
Add a remark for importing modules. Depending on whether this is a direct import (into the TU being built by this compiler instance) or transitive import (into an already-imported module), the diagnostic has two forms: importing module 'Foo' from 'path/to/Foo.pcm' importing module 'Foo' into 'Bar' from 'path/to/Foo.pcm' Also drop a redundant FileCheck invocation in Rmodule-build.m that was using -Reverything, since the notes from -Rmodule-import were confusing it. https://reviews.llvm.org/D58891 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/Inputs/Rmodule-import/A.h')
-rw-r--r--test/Modules/Inputs/Rmodule-import/A.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Modules/Inputs/Rmodule-import/A.h b/test/Modules/Inputs/Rmodule-import/A.h
new file mode 100644
index 0000000000..2b9dab8587
--- /dev/null
+++ b/test/Modules/Inputs/Rmodule-import/A.h
@@ -0,0 +1,2 @@
+// A
+#include "B.h"