reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/tools/extra/clangd/DraftStore.h
   30   llvm::Optional<std::string> getDraft(PathRef File) const;

References

tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  113     if (auto Draft = DraftMgr.getDraft(It.first())) {
  682     auto Code = DraftMgr.getDraft(Params.tweakArgs->file.file());
  757   llvm::Optional<std::string> Code = DraftMgr.getDraft(File);
  800   auto Code = DraftMgr.getDraft(File);
  813   auto Code = DraftMgr.getDraft(File);
  830   auto Code = DraftMgr.getDraft(File);
  908   auto Code = DraftMgr.getDraft(File.file());
 1273   auto Code = DraftMgr.getDraft(Params.textDocument.uri.file());
 1357     Server->addDocument(FilePath, *DraftMgr.getDraft(FilePath),
tools/clang/tools/extra/clangd/unittests/DraftStoreTests.cpp
   54     EXPECT_EQ(*DS.getDraft(Path), SrcAfter.code());
   84   EXPECT_EQ(*DS.getDraft(Path), FinalSrc.code());
  340   Optional<std::string> Contents = DS.getDraft(File);