hokein created this revision. hokein added a reviewer: sammccall. Herald added subscribers: jkorous, MaskRay, ioeric, ilya-biryukov.
Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D47869 Files: clangd/ClangdServer.cpp Index: clangd/ClangdServer.cpp =================================================================== --- clangd/ClangdServer.cpp +++ clangd/ClangdServer.cpp @@ -302,7 +302,7 @@ llvm::Expected<InputsAndAST> InpAST) { if (!InpAST) return CB(InpAST.takeError()); - CB(clangd::findDefinitions(InpAST->AST, Pos, this->FileIdx.get())); + CB(clangd::findDefinitions(InpAST->AST, Pos, this->Index)); }; WorkScheduler.runWithAST("Definitions", File, Bind(Action, std::move(CB)));
Index: clangd/ClangdServer.cpp =================================================================== --- clangd/ClangdServer.cpp +++ clangd/ClangdServer.cpp @@ -302,7 +302,7 @@ llvm::Expected<InputsAndAST> InpAST) { if (!InpAST) return CB(InpAST.takeError()); - CB(clangd::findDefinitions(InpAST->AST, Pos, this->FileIdx.get())); + CB(clangd::findDefinitions(InpAST->AST, Pos, this->Index)); }; WorkScheduler.runWithAST("Definitions", File, Bind(Action, std::move(CB)));
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits