Author: Haojian Wu Date: 2022-09-23T11:54:50+02:00 New Revision: 7438df99604233bf9e319875adcbd97aae608520
URL: https://github.com/llvm/llvm-project/commit/7438df99604233bf9e319875adcbd97aae608520 DIFF: https://github.com/llvm/llvm-project/commit/7438df99604233bf9e319875adcbd97aae608520.diff LOG: Remove an unused var decl, NFC. Added: Modified: clang-tools-extra/clangd/ClangdLSPServer.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/ClangdLSPServer.cpp b/clang-tools-extra/clangd/ClangdLSPServer.cpp index c5238e426d692..8b94d0d84fd4c 100644 --- a/clang-tools-extra/clangd/ClangdLSPServer.cpp +++ b/clang-tools-extra/clangd/ClangdLSPServer.cpp @@ -606,7 +606,6 @@ void ClangdLSPServer::onInitialize(const InitializeParams &Params, // Per LSP, codeActionProvider can be either boolean or CodeActionOptions. // CodeActionOptions is only valid if the client supports action literal // via textDocument.codeAction.codeActionLiteralSupport. - llvm::json::Value CodeActionProvider = true; ServerCaps["codeActionProvider"] = Params.capabilities.CodeActionStructure ? llvm::json::Object{{"codeActionKinds", _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits