Home
last modified time | relevance | path

Searched refs:LineEnd (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp173 const char *LineEnd = Loc.getPointer(); in GetMessage() local
175 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()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp306 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
308 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
309 ++LineEnd; in HandlePiece()
477 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp916 const char *LineEnd = TokPtr; in emitSnippetAndCaret() local
917 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()