/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SyncAPI.h | 25 void runAddDocument(ClangdServer &Server, PathRef File, StringRef Contents, 31 runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, 34 llvm::Expected<SignatureHelp> runSignatureHelp(ClangdServer &Server, 38 runLocateSymbolAt(ClangdServer &Server, PathRef File, Position Pos); 41 runFindDocumentHighlights(ClangdServer &Server, PathRef File, Position Pos); 43 llvm::Expected<RenameResult> runRename(ClangdServer &Server, PathRef File, 48 runPrepareRename(ClangdServer &Server, PathRef File, Position Pos, 53 runFormatFile(ClangdServer &Server, PathRef File, StringRef Code); 60 runSemanticRanges(ClangdServer &Server, PathRef File, 64 runSwitchHeaderSource(ClangdServer &Server, PathRef File); [all …]
|
D | ClangdTests.cpp | 77 class ErrorCheckingCallbacks : public ClangdServer::Callbacks { 98 class MultipleErrorCheckingCallbacks : public ClangdServer::Callbacks { 148 std::string dumpAST(ClangdServer &Server, PathRef File) { in dumpAST() 165 std::string dumpASTWithoutMemoryLocs(ClangdServer &Server, PathRef File) { in dumpASTWithoutMemoryLocs() 176 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); 228 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST() 263 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &DiagConsumer); in TEST() 308 struct Callbacks : public ClangdServer::Callbacks { in TEST() 318 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &Callbacks); in TEST() 350 auto Opts = ClangdServer::optsForTest(); in TEST() [all …]
|
D | SyncAPI.cpp | 15 void runAddDocument(ClangdServer &Server, PathRef File, in runAddDocument() 72 runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, in runCodeComplete() 79 llvm::Expected<SignatureHelp> runSignatureHelp(ClangdServer &Server, in runSignatureHelp() 87 runLocateSymbolAt(ClangdServer &Server, PathRef File, Position Pos) { in runLocateSymbolAt() 94 runFindDocumentHighlights(ClangdServer &Server, PathRef File, Position Pos) { in runFindDocumentHighlights() 100 llvm::Expected<RenameResult> runRename(ClangdServer &Server, PathRef File, in runRename() 109 runPrepareRename(ClangdServer &Server, PathRef File, Position Pos, in runPrepareRename() 118 runFormatFile(ClangdServer &Server, PathRef File, StringRef Code) { in runFormatFile() 146 runSemanticRanges(ClangdServer &Server, PathRef File, in runSemanticRanges() 154 runSwitchHeaderSource(ClangdServer &Server, PathRef File) { in runSwitchHeaderSource() [all …]
|
D | SemanticSelectionTests.cpp | 172 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()
|
D | ClangdLSPServerTests.cpp | 38 ClangdServer::Options &Base = Opts; in LSPTest() 39 Base = ClangdServer::optsForTest(); in LSPTest()
|
D | CodeCompleteTests.cpp | 840 ClangdServer::Options Opts = ClangdServer::optsForTest(); in TEST() 842 ClangdServer Server(CDB, FS, Opts); in TEST() 875 auto Opts = ClangdServer::optsForTest(); in TEST() 877 ClangdServer Server(CDB, FS, Opts); in TEST() 936 auto Opts = ClangdServer::optsForTest(); in TEST() 939 ClangdServer Server(CDB, FS, Opts); in TEST() 1665 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 1753 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 2157 ClangdServer::Options Opts = ClangdServer::optsForTest(); in TEST() 2159 ClangdServer Server(CDB, FS, Opts); in TEST() [all …]
|
D | HeaderSourceSwitchTests.cpp | 266 auto Options = ClangdServer::optsForTest(); in TEST() 268 ClangdServer Server(CDB, FS, Options); in TEST()
|
D | SemanticHighlightingTests.cpp | 733 class HighlightingsCounter : public ClangdServer::Callbacks { in TEST() 750 ClangdServer Server(MCD, FS, ClangdServer::optsForTest(), &Counter); in TEST()
|
D | XRefsTests.cpp | 1201 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 1241 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST() 1322 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()
|
D | RenameTests.cpp | 1119 auto ServerOpts = ClangdServer::optsForTest(); in TEST() 1124 ClangdServer Server(CDB, FS, ServerOpts); in TEST() 1484 auto ServerOpts = ClangdServer::optsForTest(); in TEST() 1486 ClangdServer Server(CDB, FS, ServerOpts); in TEST()
|
D | TUSchedulerTests.cpp | 79 TUScheduler::Options Opts(ClangdServer::optsForTest()); in optsForTest() 892 class CaptureTUStatus : public ClangdServer::Callbacks { in TEST_F() 927 ClangdServer Server(CDB, FS, ClangdServer::optsForTest(), &CaptureTUStatus); in TEST_F()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ClangdServer.cpp | 68 ClangdServer::Callbacks *ServerCallbacks, in UpdateIndexCallbacks() 113 ClangdServer::Callbacks *ServerCallbacks; 119 ClangdServer::Options ClangdServer::optsForTest() { in optsForTest() 120 ClangdServer::Options Opts; in optsForTest() 129 ClangdServer::Options::operator TUScheduler::Options() const { in operator TUScheduler::Options() 139 ClangdServer::ClangdServer(const GlobalCompilationDatabase &CDB, in ClangdServer() function in clang::clangd::ClangdServer 201 void ClangdServer::addDocument(PathRef File, llvm::StringRef Contents, in addDocument() 224 void ClangdServer::removeDocument(PathRef File) { WorkScheduler.remove(File); } in removeDocument() 226 void ClangdServer::codeComplete(PathRef File, Position Pos, in codeComplete() 291 void ClangdServer::signatureHelp(PathRef File, Position Pos, in signatureHelp() [all …]
|
D | ClangdLSPServer.h | 40 class ClangdLSPServer : private ClangdServer::Callbacks { 42 struct Options : ClangdServer::Options { 312 llvm::Optional<ClangdServer> Server;
|
D | ClangdServer.h | 57 class ClangdServer { 172 ClangdServer(const GlobalCompilationDatabase &CDB, const ThreadsafeFS &TFS,
|
D | CMakeLists.txt | 47 ClangdServer.cpp
|
D | ClangdLSPServer.cpp | 76 CodeAction toCodeAction(const ClangdServer::TweakRef &T, const URIForFile &File, in toCodeAction() 518 static_cast<ClangdServer::Callbacks *>(this)); in onInitialize() 1026 llvm::Expected<std::vector<ClangdServer::TweakRef>> Tweaks) mutable { in onCodeAction()
|
/external/llvm-project/clang-tools-extra/clangd/tool/ |
D | ClangdMain.cpp | 319 init(ClangdServer::Options().BuildRecoveryAST), 326 init(ClangdServer::Options().PreserveRecoveryASTType), 475 init(ClangdServer::Options().AsyncPreambleBuilds), 497 init(ClangdServer::Options().CollectMainFileRefs),
|
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/ |
D | BUILD.gn | 69 "ClangdServer.cpp",
|