From 0faecf0c333a60318f7bfdc8caa987194ba15379 Mon Sep 17 00:00:00 2001 From: Sam McCall Date: Mon, 15 Jan 2018 12:33:00 +0000 Subject: [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 --- clang-tools-extra/clangd/CodeComplete.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'clang-tools-extra/clangd/CodeComplete.h') 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. -- cgit v1.2.3