diff options
Diffstat (limited to 'clangd/index/FileIndex.h')
-rw-r--r-- | clangd/index/FileIndex.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clangd/index/FileIndex.h b/clangd/index/FileIndex.h index 6408a25b..312373ca 100644 --- a/clangd/index/FileIndex.h +++ b/clangd/index/FileIndex.h @@ -60,8 +60,9 @@ public: /// nullptr, this removes all symbols in the file void update(const Context &Ctx, PathRef Path, ParsedAST *AST); - bool fuzzyFind(const Context &Ctx, const FuzzyFindRequest &Req, - std::function<void(const Symbol &)> Callback) const override; + bool + fuzzyFind(const Context &Ctx, const FuzzyFindRequest &Req, + llvm::function_ref<void(const Symbol &)> Callback) const override; private: FileSymbols FSymbols; |