diff options
| author | Eric Liu <ioeric@google.com> | 2017-12-19 16:50:37 +0000 |
|---|---|---|
| committer | Eric Liu <ioeric@google.com> | 2017-12-19 16:50:37 +0000 |
| commit | 6f648df1b940ac707ac05390c236015c92f5996f (patch) | |
| tree | b1419b2daeaaecd2e621bd491411f4085ebd6630 /clang-tools-extra/clangd/index/MemIndex.h | |
| parent | 6b15ace4384dd73e97e42250b3dcd2071bed302a (diff) | |
| download | bcm5719-llvm-6f648df1b940ac707ac05390c236015c92f5996f.tar.gz bcm5719-llvm-6f648df1b940ac707ac05390c236015c92f5996f.zip | |
[clangd] Index-based code completion.
Summary: Use symbol index to populate completion results for qualfified IDs e.g. "nx::A^".
Reviewers: ilya-biryukov, sammccall
Reviewed By: ilya-biryukov, sammccall
Subscribers: rwols, klimek, mgorny, cfe-commits, sammccall
Differential Revision: https://reviews.llvm.org/D41281
llvm-svn: 321083
Diffstat (limited to 'clang-tools-extra/clangd/index/MemIndex.h')
| -rw-r--r-- | clang-tools-extra/clangd/index/MemIndex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/index/MemIndex.h b/clang-tools-extra/clangd/index/MemIndex.h index 24601294da7..26ae34cfb02 100644 --- a/clang-tools-extra/clangd/index/MemIndex.h +++ b/clang-tools-extra/clangd/index/MemIndex.h @@ -24,7 +24,7 @@ public: /// accessible as long as `Symbols` is kept alive. void build(std::shared_ptr<std::vector<const Symbol *>> Symbols); - bool fuzzyFind(Context &Ctx, const FuzzyFindRequest &Req, + bool fuzzyFind(const Context &Ctx, const FuzzyFindRequest &Req, std::function<void(const Symbol &)> Callback) const override; private: |

