summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2016-05-04 00:53:13 +0000
committerBen Langmuir <blangmuir@apple.com>2016-05-04 00:53:13 +0000
commit537c5b5b62c42528fc90914ce6abe7002c3fb4c4 (patch)
tree1d85faa427187b73edb925cd0416bc5f2f9d4c08 /clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap
parent2c5aeabeddd0495dcb4b39134f3ab1e89e0d66e5 (diff)
downloadbcm5719-llvm-537c5b5b62c42528fc90914ce6abe7002c3fb4c4.tar.gz
bcm5719-llvm-537c5b5b62c42528fc90914ce6abe7002c3fb4c4.zip
Fix CodeCompletion & TypoCorrection when combining a PCH with Modules
This commit fixes the IdentifierIterator to actually include identifiers from a PCH or precompiled preamble when there is also a global module index. This was causing code-completion (outside of C++) and typo-correction to be missing global identifiers defined in the PCH/preamble. Typo-correction has been broken since we first started using the module index, whereas code-completion only started relying on identifier iterator in r232793. rdar://problem/25642879 llvm-svn: 268471
Diffstat (limited to 'clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap')
-rw-r--r--clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap b/clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap
new file mode 100644
index 00000000000..b0fe1faaee6
--- /dev/null
+++ b/clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap
@@ -0,0 +1,4 @@
+module ModuleA {
+ header "moduleA.h"
+ export *
+}
OpenPOWER on IntegriCloud