Lines Matching full:linestart
280 const char *LineStart = Loc.getPointer(); in GetMessage() local
282 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage()
283 LineStart[-1] != '\r') in GetMessage()
284 --LineStart; in GetMessage()
291 LineStr = std::string(LineStart, LineEnd); in GetMessage()
301 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
305 if (R.Start.getPointer() < LineStart) in GetMessage()
306 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage()
312 ColRanges.push_back(std::make_pair(R.Start.getPointer() - LineStart, in GetMessage()
313 R.End.getPointer() - LineStart)); in GetMessage()
384 const char *LineStart = SourceLine.begin(); in buildFixItLine() local
398 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
405 if (R.Start.getPointer() < LineStart) in buildFixItLine()
408 FirstCol = R.Start.getPointer() - LineStart; in buildFixItLine()
441 LastCol = LineEnd - LineStart; in buildFixItLine()
443 LastCol = R.End.getPointer() - LineStart; in buildFixItLine()