Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp287 const char *LineEnd = Loc.getPointer(); in GetMessage() local
289 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
290 ++LineEnd; in GetMessage()
291 LineStr = StringRef(LineStart, LineEnd - LineStart); in GetMessage()
301 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
307 if (R.End.getPointer() > LineEnd) in GetMessage()
308 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
385 const char *LineEnd = SourceLine.end(); in buildFixItLine() local
397 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
438 if (R.End.getPointer() >= LineEnd) in buildFixItLine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h239 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
244 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion()
246 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
251 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion()
255 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion()
260 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion()
262 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
269 ColumnStart, LineEnd, ColumnEnd, in makeExpansion()
275 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped()
277 LineEnd, ColumnEnd, SkippedRegion); in makeSkipped()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIALineNumber.cpp23 DWORD LineEnd = 0; in getLineNumberEnd() local
24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp78 uint32_t LineEnd = Line->getLineNumberEnd(); in start() local
85 if (LineStart != LineEnd) in start()
86 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp169 unsigned LineEnd; member
178 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
188 return (LineStart < LineEnd) || in isInSourceOrder()
189 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder()
349 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange()
350 SR.LineEnd--; in adjustSkippedRange()
371 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions()
395 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
436 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
444 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DImportedFunctionsInliningStatistics.cpp84 bool LineEnd = true) { in getStatString() argument
92 if (LineEnd) in getStatString()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp718 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
719 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
720 *LineEnd != '\n') in checkAllRulesInBuffer()
721 ++LineEnd; in checkAllRulesInBuffer()
723 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
739 LineStart = LineEnd; in checkAllRulesInBuffer()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp212 FormatToken *LineEnd; member in clang::format::JavaScriptImportSorter
229 if (!Current || Current == LineEnd->Next) { in nextToken()
363 LineEnd = Line->Last; in parseModuleReferences()
405 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp245 assert(I->LineEnd >= I->LineStart); in write()
246 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
H A DCoverageMapping.cpp630 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1187 const char *LineEnd = LineStart; in emitSnippetAndCaret() local
1188 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
1189 ++LineEnd; in emitSnippetAndCaret()
1193 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()
1197 StringRef Line(LineStart, LineEnd - LineStart); in emitSnippetAndCaret()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp821 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
823 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
824 ++LineEnd; in HandlePiece()
1000 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp87 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion()
95 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch()
H A DCodeCoverage.cpp413 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp332 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local
335 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction()
384 OS.emitLabel(LineEnd); in emitLineTableForFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1207 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1208 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber()
1213 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp1287 size_t LineEnd = Data.find_first_of("\n", ParentProcPos); in getCrashDiagnosticFile() local
1288 if (LineEnd == StringRef::npos) in getCrashDiagnosticFile()
1290 StringRef ParentProcess = Data.slice(ParentProcPos+15, LineEnd).trim(); in getCrashDiagnosticFile()