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

References

tools/clang/lib/Tooling/Core/Replacement.cpp
  247   if (!Replaces.empty() && R.getFilePath() != Replaces.begin()->getFilePath())
  249         replacement_error::wrong_file_path, R, *Replaces.begin());
  252   if (R.getOffset() == std::numeric_limits<unsigned>::max()) {
  253     Replaces.insert(R);
  262   Replacement AtEnd(R.getFilePath(), R.getOffset() + R.getLength(), 0, "");
  262   Replacement AtEnd(R.getFilePath(), R.getOffset() + R.getLength(), 0, "");
  262   Replacement AtEnd(R.getFilePath(), R.getOffset() + R.getLength(), 0, "");
  269   if (I != Replaces.end() && R.getOffset() == I->getOffset()) {
  270     assert(R.getLength() == 0);
  275       if ((R.getReplacementText() + I->getReplacementText()).str() !=
  276           (I->getReplacementText() + R.getReplacementText()).str())
  278             replacement_error::insert_conflict, R, *I);
  281           R.getFilePath(), R.getOffset(), 0,
  281           R.getFilePath(), R.getOffset(), 0,
  282           (R.getReplacementText() + I->getReplacementText()).str());
  294     Replaces.insert(R);
  301     Replaces.insert(R);
  311   if (!Overlap(R, *I)) {
  319     Replaces.insert(R);
  329       if (!Overlap(R, *I))
  335         OverlapReplaces.mergeIfOrderIndependent(R);