hanchenye-llvm-project/clang/test/CodeCompletion
Ben Langmuir 537c5b5b62 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
2016-05-04 00:53:13 +00:00
..
Inputs Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
PR9728.cpp
auto.cpp
bracket-decl.c
call.c
call.cpp
constexpr.cpp
documentation.cpp
documentation.m Fix ObjCMethodDecl::findPropertyDecl for class properties. 2016-03-11 21:14:40 +00:00
enum-switch-case-qualified.cpp
enum-switch-case.c
enum-switch-case.cpp
function-templates.cpp
functions.cpp
macros-in-modules.c
macros-in-modules.m
macros.c
member-access.c
member-access.cpp
namespace-alias.cpp
namespace.cpp
nested-name-specifier.cpp
objc-expr.m
objc-message.m
objc-message.mm
operator.cpp
ordinary-name-cxx11.cpp
ordinary-name.c
ordinary-name.cpp
pch-and-module.m Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
preamble.c
some_struct.h
stdin.c
tag.c
tag.cpp
templates.cpp
truncation.c
truncation.c.h
using-namespace.cpp
using.cpp