Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp178 const char *LineEnd = Loc.getPointer(); in GetMessage() local
180 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() local
270 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
312 if (R.End.getPointer() >= LineEnd) in buildFixItLine()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp296 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
298 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
299 ++LineEnd; in HandlePiece()
467 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp1103 const char *LineEnd = TokPtr; in emitSnippetAndCaret() local
1104 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()
/external/clang/lib/Basic/
DSourceManager.cpp1166 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1167 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber()