Searched refs:LineEnd (Results 1 – 4 of 4) sorted by relevance
178 const char *LineEnd = Loc.getPointer(); in GetMessage() local180 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()181 ++LineEnd; in GetMessage()182 LineStr = std::string(LineStart, LineEnd); in GetMessage()191 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()197 if (R.End.getPointer() > LineEnd) in GetMessage()198 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()257 const char *LineEnd = SourceLine.end(); in buildFixItLine() local270 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()312 if (R.End.getPointer() >= LineEnd) in buildFixItLine()[all …]
296 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local298 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()299 ++LineEnd; in HandlePiece()467 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
1103 const char *LineEnd = TokPtr; in emitSnippetAndCaret() local1104 while (*LineEnd != '\n' && *LineEnd != '\r' && *LineEnd != '\0') in emitSnippetAndCaret()1105 ++LineEnd; in emitSnippetAndCaret()1108 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()1112 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()1116 std::string CaretLine(LineEnd-LineStart, ' '); in emitSnippetAndCaret()
1166 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local1167 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber()