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

References

tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp
  157     if (Hint.CodeToInsert.empty()) {
  158       if (Hint.InsertFromRange.isValid())
  159         commit.insertFromRange(Hint.RemoveRange.getBegin(),
  160                            Hint.InsertFromRange, /*afterToken=*/false,
  161                            Hint.BeforePreviousInsertions);
  163         commit.remove(Hint.RemoveRange);
  165       if (Hint.RemoveRange.isTokenRange() ||
  166           Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd())
  166           Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd())
  167         commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
  167         commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
  169         commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
  169         commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
  170                     /*afterToken=*/false, Hint.BeforePreviousInsertions);