summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
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/lib/Frontend/CompilerInvocation.cpp
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/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud