Searched refs:addDraft (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | DraftStoreTests.cpp | 40 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/ |
D | DraftStore.h | 45 int64_t addDraft(PathRef File, llvm::Optional<int64_t> Version,
|
D | DraftStore.cpp | 50 int64_t DraftStore::addDraft(PathRef File, llvm::Optional<int64_t> Version, in addDraft() function in clang::clangd::DraftStore
|
D | ClangdLSPServer.cpp | 667 auto Version = DraftMgr.addDraft(File, Params.textDocument.version, Contents); in onDocumentDidOpen()
|