This revision was automatically updated to reflect the committed changes. Closed by commit rG3fa2d37eb3f8: [clangd][NFC] Improve clangd status messages (authored by qchateau, committed by sammccall).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D93546/new/ https://reviews.llvm.org/D93546 Files: clang-tools-extra/clangd/ClangdServer.cpp clang-tools-extra/clangd/TUScheduler.cpp Index: clang-tools-extra/clangd/TUScheduler.cpp =================================================================== --- clang-tools-extra/clangd/TUScheduler.cpp +++ clang-tools-extra/clangd/TUScheduler.cpp @@ -1220,7 +1220,7 @@ } if (Result.empty()) return "idle"; - return llvm::join(Result, ","); + return llvm::join(Result, ", "); } } // namespace Index: clang-tools-extra/clangd/ClangdServer.cpp =================================================================== --- clang-tools-extra/clangd/ClangdServer.cpp +++ clang-tools-extra/clangd/ClangdServer.cpp @@ -621,7 +621,7 @@ File)); }; - WorkScheduler.runWithAST("Type Hierarchy", File, std::move(Action)); + WorkScheduler.runWithAST("TypeHierarchy", File, std::move(Action)); } void ClangdServer::resolveTypeHierarchy( @@ -642,7 +642,7 @@ return CB(InpAST.takeError()); CB(clangd::prepareCallHierarchy(InpAST->AST, Pos, File)); }; - WorkScheduler.runWithAST("Call Hierarchy", File, std::move(Action)); + WorkScheduler.runWithAST("CallHierarchy", File, std::move(Action)); } void ClangdServer::incomingCalls( @@ -678,7 +678,7 @@ return CB(InpAST.takeError()); CB(clangd::getDocumentSymbols(InpAST->AST)); }; - WorkScheduler.runWithAST("documentSymbols", File, std::move(Action), + WorkScheduler.runWithAST("DocumentSymbols", File, std::move(Action), TUScheduler::InvalidateOnUpdate); } @@ -690,7 +690,7 @@ return CB(InpAST.takeError()); CB(clangd::getFoldingRanges(InpAST->AST)); }; - WorkScheduler.runWithAST("foldingRanges", File, std::move(Action), + WorkScheduler.runWithAST("FoldingRanges", File, std::move(Action), TUScheduler::InvalidateOnUpdate); }
Index: clang-tools-extra/clangd/TUScheduler.cpp =================================================================== --- clang-tools-extra/clangd/TUScheduler.cpp +++ clang-tools-extra/clangd/TUScheduler.cpp @@ -1220,7 +1220,7 @@ } if (Result.empty()) return "idle"; - return llvm::join(Result, ","); + return llvm::join(Result, ", "); } } // namespace Index: clang-tools-extra/clangd/ClangdServer.cpp =================================================================== --- clang-tools-extra/clangd/ClangdServer.cpp +++ clang-tools-extra/clangd/ClangdServer.cpp @@ -621,7 +621,7 @@ File)); }; - WorkScheduler.runWithAST("Type Hierarchy", File, std::move(Action)); + WorkScheduler.runWithAST("TypeHierarchy", File, std::move(Action)); } void ClangdServer::resolveTypeHierarchy( @@ -642,7 +642,7 @@ return CB(InpAST.takeError()); CB(clangd::prepareCallHierarchy(InpAST->AST, Pos, File)); }; - WorkScheduler.runWithAST("Call Hierarchy", File, std::move(Action)); + WorkScheduler.runWithAST("CallHierarchy", File, std::move(Action)); } void ClangdServer::incomingCalls( @@ -678,7 +678,7 @@ return CB(InpAST.takeError()); CB(clangd::getDocumentSymbols(InpAST->AST)); }; - WorkScheduler.runWithAST("documentSymbols", File, std::move(Action), + WorkScheduler.runWithAST("DocumentSymbols", File, std::move(Action), TUScheduler::InvalidateOnUpdate); } @@ -690,7 +690,7 @@ return CB(InpAST.takeError()); CB(clangd::getFoldingRanges(InpAST->AST)); }; - WorkScheduler.runWithAST("foldingRanges", File, std::move(Action), + WorkScheduler.runWithAST("FoldingRanges", File, std::move(Action), TUScheduler::InvalidateOnUpdate); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits