Lines Matching defs:Start
853 // Change start and end quote.
855 SourceLocation Start = FormatTok->Tok.getLocation();
856 auto Replace = [&](SourceLocation Start, unsigned Length,
858 Result.insert(tooling::Replacement(Env.getSourceManager(), Start,
861 Replace(Start, 1, IsSingle ? "'" : "\"");
877 Replace(Start.getLocWithOffset(i), 1, "");
886 Replace(Start.getLocWithOffset(i), 0, "\\");
1104 // Checks pairs {start, start->next},..., {end->previous, end} and deletes one
1109 void cleanupPair(FormatToken *Start, LeftKind LK, RightKind RK,
1118 for (auto *Left = Start; Left;) {
1134 void cleanupLeft(FormatToken *Start, LeftKind LK, RightKind RK) {
1135 cleanupPair(Start, LK, RK, /*DeleteLeft=*/true);
1139 void cleanupRight(FormatToken *Start, LeftKind LK, RightKind RK) {
1140 cleanupPair(Start, LK, RK, /*DeleteLeft=*/false);
1202 // Determines whether 'Ranges' intersects with ('Start', 'End').
1203 static bool affectsRange(ArrayRef<tooling::Range> Ranges, unsigned Start,
1207 Range.getOffset() + Range.getLength() > Start)
1245 unsigned Start = Includes[Index].Offset;
1246 unsigned End = Start + Includes[Index].Text.size();
1247 if (*Cursor >= Start && *Cursor < End) {