Lines Matching full:linestart
155 const char *LineStart = Loc.getPointer(); in GetMessage() local
157 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage()
158 LineStart[-1] != '\r') in GetMessage()
159 --LineStart; in GetMessage()
166 LineStr = std::string(LineStart, LineEnd); in GetMessage()
175 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
179 if (R.Start.getPointer() < LineStart) in GetMessage()
180 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage()
186 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage()
187 R.End.getPointer()-LineStart)); in GetMessage()
248 const char *LineStart = SourceLine.begin(); in buildFixItLine() local
262 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
269 if (R.Start.getPointer() < LineStart) in buildFixItLine()
272 FirstCol = R.Start.getPointer() - LineStart; in buildFixItLine()
305 LastCol = LineEnd - LineStart; in buildFixItLine()
307 LastCol = R.End.getPointer() - LineStart; in buildFixItLine()