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

References

tools/clang/lib/Tooling/Core/Replacement.cpp
  381       unsigned REnd = R.getOffset() + Delta + R.getLength();
  381       unsigned REnd = R.getOffset() + Delta + R.getLength();
  388       StringRef Head = TextRef.substr(0, R.getOffset() + Delta - Offset);
  390       Text = (Head + R.getReplacementText() + Tail).str();
  391       Delta += R.getReplacementText().size() - R.getLength();
  391       Delta += R.getReplacementText().size() - R.getLength();
  394       StringRef RText = R.getReplacementText();
  395       StringRef Tail = RText.substr(End - R.getOffset());
  397       if (R.getOffset() + RText.size() > End) {
  398         Length = R.getOffset() + R.getLength() - Offset;
  398         Length = R.getOffset() + R.getLength() - Offset;
  401         Length += R.getLength() - RText.size();
  403       DeltaFirst += RText.size() - R.getLength();