diff options
Diffstat (limited to 'clang-tools-extra/clangd/index/FileIndex.h')
| -rw-r--r-- | clang-tools-extra/clangd/index/FileIndex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clangd/index/FileIndex.h b/clang-tools-extra/clangd/index/FileIndex.h index e904b8d17ad..6408a25b3a7 100644 --- a/clang-tools-extra/clangd/index/FileIndex.h +++ b/clang-tools-extra/clangd/index/FileIndex.h @@ -58,9 +58,9 @@ class FileIndex : public SymbolIndex { public: /// \brief Update symbols in \p Path with symbols in \p AST. If \p AST is /// nullptr, this removes all symbols in the file - void update(Context &Ctx, PathRef Path, ParsedAST *AST); + void update(const Context &Ctx, PathRef Path, ParsedAST *AST); - bool fuzzyFind(Context &Ctx, const FuzzyFindRequest &Req, + bool fuzzyFind(const Context &Ctx, const FuzzyFindRequest &Req, std::function<void(const Symbol &)> Callback) const override; private: |

