diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2018-09-14 12:36:06 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2018-09-14 12:36:06 +0000 |
| commit | ebef81227b9e80e4255707a84736af7f994ac0fd (patch) | |
| tree | 9a83bb809efa0ab3f2183e35026627992e44c6ae /clang/lib/Lex/HeaderMap.cpp | |
| parent | 053c9ee82650907a0e12a65ca43a1958692ed2fd (diff) | |
| download | bcm5719-llvm-ebef81227b9e80e4255707a84736af7f994ac0fd.tar.gz bcm5719-llvm-ebef81227b9e80e4255707a84736af7f994ac0fd.zip | |
[clangd] Don't override the preamble while completing inside it, it doesn't work.
Summary:
To stay fast, enable single-file-mode instead. This is fine since completions
in the preamble are simple.
The net effect for now is to suppress the spurious TopLevel completions when
completing inside the preamble.
Once Sema has include directive completion, this will be more important.
Reviewers: ilya-biryukov
Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Revision: https://reviews.llvm.org/D52071
llvm-svn: 342230
Diffstat (limited to 'clang/lib/Lex/HeaderMap.cpp')
0 files changed, 0 insertions, 0 deletions

