Searched refs:getDraft (Results 1 – 6 of 6) sorted by relevance
56 EXPECT_EQ(DS.getDraft(Path)->Contents, SrcAfter.code()); in stepByStep()88 EXPECT_EQ(DS.getDraft(Path)->Contents, FinalSrc.code()); in allAtOnce()346 Optional<DraftStore::Draft> Contents = DS.getDraft(File); in TEST()357 EXPECT_EQ(25, DS.getDraft(File)->Version); in TEST()360 EXPECT_EQ(26, DS.getDraft(File)->Version); in TEST()364 EXPECT_EQ(7, DS.getDraft(File)->Version); in TEST()370 EXPECT_EQ(10, DS.getDraft(File)->Version); in TEST()375 EXPECT_EQ(11, DS.getDraft(File)->Version); in TEST()384 EXPECT_EQ(11, DS.getDraft(File)->Version); in TEST()
37 llvm::Optional<Draft> getDraft(PathRef File) const;
139 if (auto Draft = DraftMgr.getDraft(It.first())) { in validateEdits()744 auto Code = DraftMgr.getDraft(Params.tweakArgs->file.file()); in onCommand()823 if (!DraftMgr.getDraft(File)) in onRename()876 auto Code = DraftMgr.getDraft(File); in onDocumentOnTypeFormatting()890 auto Code = DraftMgr.getDraft(File); in onDocumentRangeFormatting()911 auto Code = DraftMgr.getDraft(File); in onDocumentFormatting()997 auto Code = DraftMgr.getDraft(File.file()); in onCodeAction()1556 auto Code = DraftMgr.getDraft(Params.textDocument.uri.file()); in shouldRunCompletion()1702 if (auto Draft = DraftMgr.getDraft(FilePath)) // else disappeared in race? in reparseOpenFilesIfNeeded()
17 llvm::Optional<DraftStore::Draft> DraftStore::getDraft(PathRef File) const { in getDraft() function in clang::clangd::DraftStore
44 public int getDraft() { in getDraft() method in Story
53 if (firstStory.getDraft() >= BASE_DRAFT) { in storiesForCurrentDraft()