summaryrefslogtreecommitdiffstats
path: root/clangd/index/FileIndex.h
diff options
context:
space:
mode:
Diffstat (limited to 'clangd/index/FileIndex.h')
-rw-r--r--clangd/index/FileIndex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clangd/index/FileIndex.h b/clangd/index/FileIndex.h
index e904b8d1..6408a25b 100644
--- a/clangd/index/FileIndex.h
+++ b/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: