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

References

tools/clang/tools/extra/clangd/DraftStore.cpp
   57       Contents = Change.text;
   63         positionToOffset(Contents, Start, false);
   68     llvm::Expected<size_t> EndIndex = positionToOffset(Contents, End, false);
   87         lspLength(Contents.substr(*StartIndex, *EndIndex - *StartIndex));
   98                         (Contents.length() - *EndIndex));
  100     NewContents = Contents.substr(0, *StartIndex);
  102     NewContents += Contents.substr(*EndIndex);
  104     Contents = std::move(NewContents);
  107   EntryIt->second = Contents;
  108   return Contents;