reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
161 MessageHandler(ClangdLSPServer &Server) : Server(Server) {} 313 ClangdLSPServer *Server; // Null when moved-from. 318 ClangdLSPServer *Server, llvm::json::Object *TraceArgs) 439 ClangdLSPServer &Server; 1202 MsgHandler->bind("initialize", &ClangdLSPServer::onInitialize); 1203 MsgHandler->bind("shutdown", &ClangdLSPServer::onShutdown); 1204 MsgHandler->bind("sync", &ClangdLSPServer::onSync); 1205 MsgHandler->bind("textDocument/rangeFormatting", &ClangdLSPServer::onDocumentRangeFormatting); 1206 MsgHandler->bind("textDocument/onTypeFormatting", &ClangdLSPServer::onDocumentOnTypeFormatting); 1207 MsgHandler->bind("textDocument/formatting", &ClangdLSPServer::onDocumentFormatting); 1208 MsgHandler->bind("textDocument/codeAction", &ClangdLSPServer::onCodeAction); 1209 MsgHandler->bind("textDocument/completion", &ClangdLSPServer::onCompletion); 1210 MsgHandler->bind("textDocument/signatureHelp", &ClangdLSPServer::onSignatureHelp); 1211 MsgHandler->bind("textDocument/definition", &ClangdLSPServer::onGoToDefinition); 1212 MsgHandler->bind("textDocument/declaration", &ClangdLSPServer::onGoToDeclaration); 1213 MsgHandler->bind("textDocument/references", &ClangdLSPServer::onReference); 1214 MsgHandler->bind("textDocument/switchSourceHeader", &ClangdLSPServer::onSwitchSourceHeader); 1215 MsgHandler->bind("textDocument/prepareRename", &ClangdLSPServer::onPrepareRename); 1216 MsgHandler->bind("textDocument/rename", &ClangdLSPServer::onRename); 1217 MsgHandler->bind("textDocument/hover", &ClangdLSPServer::onHover); 1218 MsgHandler->bind("textDocument/documentSymbol", &ClangdLSPServer::onDocumentSymbol); 1219 MsgHandler->bind("workspace/executeCommand", &ClangdLSPServer::onCommand); 1220 MsgHandler->bind("textDocument/documentHighlight", &ClangdLSPServer::onDocumentHighlight); 1221 MsgHandler->bind("workspace/symbol", &ClangdLSPServer::onWorkspaceSymbol); 1222 MsgHandler->bind("textDocument/didOpen", &ClangdLSPServer::onDocumentDidOpen); 1223 MsgHandler->bind("textDocument/didClose", &ClangdLSPServer::onDocumentDidClose); 1224 MsgHandler->bind("textDocument/didChange", &ClangdLSPServer::onDocumentDidChange); 1225 MsgHandler->bind("workspace/didChangeWatchedFiles", &ClangdLSPServer::onFileEvent); 1226 MsgHandler->bind("workspace/didChangeConfiguration", &ClangdLSPServer::onChangeConfiguration); 1227 MsgHandler->bind("textDocument/symbolInfo", &ClangdLSPServer::onSymbolInfo); 1228 MsgHandler->bind("textDocument/typeHierarchy", &ClangdLSPServer::onTypeHierarchy); 1229 MsgHandler->bind("typeHierarchy/resolve", &ClangdLSPServer::onResolveTypeHierarchy); 1230 MsgHandler->bind("textDocument/selectionRange", &ClangdLSPServer::onSelectionRange);tools/clang/tools/extra/clangd/fuzzer/clangd-fuzzer.cpp
39 ClangdLSPServer LSPServer(*Transport, FS, CCOpts, llvm::None, false,
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp 669 ClangdLSPServer LSPServer(