Home
last modified time | relevance | path

Searched refs:addDocument (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DClangdTests.cpp182 Server.addDocument(SourceFilename, SourceContents);
240 Server.addDocument(FooCpp, SourceContents); in TEST()
245 Server.addDocument(FooCpp, ""); in TEST()
250 Server.addDocument(FooCpp, SourceContents); in TEST()
276 Server.addDocument(FooCpp, SourceContents); in TEST()
282 Server.addDocument(FooCpp, SourceContents); in TEST()
288 Server.addDocument(FooCpp, SourceContents); in TEST()
321 Server.addDocument(testPath("foo.cpp"), "void main(){}"); in TEST()
357 Server.addDocument(testPath("foo.cc"), Example.code()); in TEST()
363 Server.addDocument(testPath("bar.cc"), Example.code()); in TEST()
[all …]
DSemanticSelectionTests.cpp191 Server.addDocument(FooCpp, SourceAnnotations.code()); in TEST()
DSyncAPI.cpp18 Server.addDocument(File, Contents, Version, WantDiags, ForceRebuild); in runAddDocument()
DSemanticHighlightingTests.cpp751 Server.addDocument(FooCpp, "int a;"); in TEST()
DXRefsTests.cpp1342 Server.addDocument(FooCpp, FooWithoutHeader.code(), "null", in TEST()
1353 Server.addDocument(FooCpp, FooWithoutHeader.code(), "null", in TEST()
DCodeCompleteTests.cpp857 Server.addDocument(testPath("foo_impl.cpp"), FileContent); in TEST()
1674 Server.addDocument(FooCpp, Source.code(), "null", WantDiagnostics::Yes); in TEST()
2175 Server.addDocument(File, FileContent.code()); in TEST()
DTUSchedulerTests.cpp932 Server.addDocument(testPath("foo.cpp"), Code.code(), "1", in TEST_F()
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.h181 void addDocument(PathRef File, StringRef Contents,
DClangdLSPServer.cpp668 Server->addDocument(File, Contents, encodeVersion(Version), in onDocumentDidOpen()
692 Server->addDocument(File, Draft->Contents, encodeVersion(Draft->Version), in onDocumentDidChange()
1703 Server->addDocument(FilePath, std::move(Draft->Contents), in reparseOpenFilesIfNeeded()
DClangdServer.cpp201 void ClangdServer::addDocument(PathRef File, llvm::StringRef Contents, in addDocument() function in clang::clangd::ClangdServer
/external/llvm-project/llvm/include/llvm/TextAPI/MachO/
DInterfaceFile.h339 void addDocument(std::shared_ptr<InterfaceFile> &&Document) {
/external/llvm-project/llvm/unittests/TextAPI/
DTextStubV3Tests.cpp369 File.addDocument(std::make_shared<InterfaceFile>(std::move(Document))); in TEST()
DTextStubV4Tests.cpp475 File.addDocument(std::make_shared<InterfaceFile>(std::move(Document))); in TEST()
/external/llvm-project/llvm/lib/TextAPI/MachO/
DTextStub.cpp1127 File->addDocument( in get()