Lines Matching refs:End
50 "-length, clang-format will format up to the end\n"
55 LineRanges("lines", cl::desc("<start line>:<end line> - format a range of\n"
115 // Parses <start line>:<end line> input to a pair of line numbers.
136 llvm::errs() << "error: invalid <start line>:<end line> pair\n";
140 llvm::errs() << "error: start line should be less than end line\n";
144 SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX);
145 if (Start.isInvalid() || End.isInvalid())
147 Ranges.push_back(CharSourceRange::getCharRange(Start, End));
168 SourceLocation End;
176 End = Start.getLocWithOffset(Lengths[i]);
178 End = Sources.getLocForEndOfFile(ID);
180 Ranges.push_back(CharSourceRange::getCharRange(Start, End));
235 E = Replaces.end();
274 for (StringMap<cl::Option *>::iterator I = Options.begin(), E = Options.end();