Home | History | Annotate | Download | only in clang-format

Lines Matching defs:Start

56 LineRanges("lines", cl::desc("<start line>:<end line> - format a range of\n"
121 // Parses <start line>:<end line> input to a pair of line numbers.
150 errs() << "error: invalid <start line>:<end line> pair\n";
154 errs() << "error: start line should be less than end line\n";
157 SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1);
159 if (Start.isInvalid() || End.isInvalid())
161 unsigned Offset = Sources.getFileOffset(Start);
180 SourceLocation Start =
190 End = Start.getLocWithOffset(Lengths[i]);
194 unsigned Offset = Sources.getFileOffset(Start);