Home
last modified time | relevance | path

Searched refs:ClangdServer (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DSyncAPI.h25 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 …]
DClangdTests.cpp77 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 …]
DSyncAPI.cpp15 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 …]
DSemanticSelectionTests.cpp172 ClangdServer Server(CDB, FS, ClangdServer::optsForTest()); in TEST()
DClangdLSPServerTests.cpp38 ClangdServer::Options &Base = Opts; in LSPTest()
39 Base = ClangdServer::optsForTest(); in LSPTest()
DCodeCompleteTests.cpp840 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 …]
DHeaderSourceSwitchTests.cpp266 auto Options = ClangdServer::optsForTest(); in TEST()
268 ClangdServer Server(CDB, FS, Options); in TEST()
DSemanticHighlightingTests.cpp733 class HighlightingsCounter : public ClangdServer::Callbacks { in TEST()
750 ClangdServer Server(MCD, FS, ClangdServer::optsForTest(), &Counter); in TEST()
DXRefsTests.cpp1201 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()
DRenameTests.cpp1119 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()
DTUSchedulerTests.cpp79 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/
DClangdServer.cpp68 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 …]
DClangdLSPServer.h40 class ClangdLSPServer : private ClangdServer::Callbacks {
42 struct Options : ClangdServer::Options {
312 llvm::Optional<ClangdServer> Server;
DClangdServer.h57 class ClangdServer {
172 ClangdServer(const GlobalCompilationDatabase &CDB, const ThreadsafeFS &TFS,
DCMakeLists.txt47 ClangdServer.cpp
DClangdLSPServer.cpp76 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/
DClangdMain.cpp319 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/
DBUILD.gn69 "ClangdServer.cpp",