Searched refs:LineEnd (Results 1 – 3 of 3) sorted by relevance
173 const char *LineEnd = Loc.getPointer(); in GetMessage() local175 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()176 ++LineEnd; in GetMessage()177 LineStr = std::string(LineStart, LineEnd); in GetMessage()186 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()192 if (R.End.getPointer() > LineEnd) in GetMessage()193 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
306 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local308 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()309 ++LineEnd; in HandlePiece()477 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
916 const char *LineEnd = TokPtr; in emitSnippetAndCaret() local917 while (*LineEnd != '\n' && *LineEnd != '\r' && *LineEnd != '\0') in emitSnippetAndCaret()918 ++LineEnd; in emitSnippetAndCaret()921 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()925 std::string CaretLine(LineEnd-LineStart, ' '); in emitSnippetAndCaret()