Home
last modified time | relevance | path

Searched refs:addDraft (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DDraftStoreTests.cpp40 EXPECT_EQ(0, DS.addDraft(Path, llvm::None, InitialSrc.code())); in stepByStep()
81 EXPECT_EQ(0, DS.addDraft(Path, llvm::None, InitialSrc.code())); in allAtOnce()
192 DS.addDraft(File, llvm::None, "int main() {}\n"); in TEST()
215 DS.addDraft(File, llvm::None, "int main() {}\n"); in TEST()
235 DS.addDraft(File, llvm::None, "int main() {}\n"); in TEST()
256 DS.addDraft(File, llvm::None, "int main() {}\n"); in TEST()
277 DS.addDraft(File, llvm::None, "int main() {}\n"); in TEST()
297 DS.addDraft(File, llvm::None, "int main() {}\n"); in TEST()
320 EXPECT_EQ(0, DS.addDraft(File, llvm::None, OriginalContents)); in TEST()
356 EXPECT_EQ(25, DS.addDraft(File, 25, "")); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DDraftStore.h45 int64_t addDraft(PathRef File, llvm::Optional<int64_t> Version,
DDraftStore.cpp50 int64_t DraftStore::addDraft(PathRef File, llvm::Optional<int64_t> Version, in addDraft() function in clang::clangd::DraftStore
DClangdLSPServer.cpp667 auto Version = DraftMgr.addDraft(File, Params.textDocument.version, Contents); in onDocumentDidOpen()