diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2018-01-15 12:33:00 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2018-01-15 12:33:00 +0000 |
| commit | 0faecf0c333a60318f7bfdc8caa987194ba15379 (patch) | |
| tree | 6bfb57e272dfe75a75de54678776e65cec75e8b1 /clang-tools-extra/clangd/CodeComplete.h | |
| parent | 54076fe17cb15083f9d85a002d2d7774e7e3a12b (diff) | |
| download | bcm5719-llvm-0faecf0c333a60318f7bfdc8caa987194ba15379.tar.gz bcm5719-llvm-0faecf0c333a60318f7bfdc8caa987194ba15379.zip | |
[clangd] Merge results from static/dynamic index.
Summary:
We now hide the static/dynamic split from the code completion, behind a
new implementation of the SymbolIndex interface. This will reduce the
complexity of the sema/index merging that needs to be done by
CodeComplete, at a fairly small cost in flexibility.
Reviewers: hokein
Subscribers: klimek, mgorny, ilya-biryukov, cfe-commits
Differential Revision: https://reviews.llvm.org/D42049
llvm-svn: 322480
Diffstat (limited to 'clang-tools-extra/clangd/CodeComplete.h')
| -rw-r--r-- | clang-tools-extra/clangd/CodeComplete.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang-tools-extra/clangd/CodeComplete.h b/clang-tools-extra/clangd/CodeComplete.h index db5fc86322c..52ec01880c5 100644 --- a/clang-tools-extra/clangd/CodeComplete.h +++ b/clang-tools-extra/clangd/CodeComplete.h @@ -67,10 +67,6 @@ struct CodeCompleteOptions { /// FIXME(ioeric): we might want a better way to pass the index around inside /// clangd. const SymbolIndex *Index = nullptr; - - // Populated internally by clangd, do not set. - /// Static index for project-wide global symbols. - const SymbolIndex *StaticIndex = nullptr; }; /// Get code completions at a specified \p Pos in \p FileName. |

