Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp299 const char *LineEnd = Loc.getPointer(); in GetMessage() local
301 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage()
302 ++LineEnd; in GetMessage()
303 LineStr = StringRef(LineStart, LineEnd - LineStart); in GetMessage()
312 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage()
318 if (R.End.getPointer() > LineEnd) in GetMessage()
319 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
396 const char *LineEnd = SourceLine.end(); in buildFixItLine() local
408 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
449 if (R.End.getPointer() >= LineEnd) in buildFixItLine()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h282 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
292 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion()
294 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
299 unsigned ColumnStart, unsigned LineEnd,
304 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in Count()
309 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion()
312 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion()
317 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion()
319 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
324 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeExpansion()
[all …]
/freebsd/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/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/contrib/llvm-project/llvm/lib/Analysis/
H A DImportedFunctionsInliningStatistics.cpp85 bool LineEnd = true) { in getStatString() argument
93 if (LineEnd) in getStatString()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp224 unsigned LineEnd; member
233 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
243 return (LineStart < LineEnd) || in isInSourceOrder()
244 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder()
452 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange()
453 SR.LineEnd--; in adjustSkippedRange()
474 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions()
498 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions()
503 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
555 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp217 FormatToken *LineEnd = nullptr; member in clang::format::JavaScriptImportSorter
234 if (!Current || Current == LineEnd->Next) { in nextToken()
370 LineEnd = Line->Last; in parseModuleReferences()
415 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp90 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion()
98 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch()
114 return json::Array({CMR.LineStart, CMR.ColumnStart, CMR.LineEnd, in renderMCDCRecord()
H A DCodeCoverage.cpp360 unsigned CurrentLine = NextRecord->getDecisionRegion().LineEnd; in attachMCDCSubViews()
362 CurrentLine == NextRecord->getDecisionRegion().LineEnd) in attachMCDCSubViews()
439 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
H A DSourceCoverageViewText.cpp347 OS << DecisionRegion.LineEnd << ":"; in renderMCDCView()
H A DSourceCoverageViewHTML.cpp1169 LineNoStr = utostr(uint64_t(DecisionRegion.LineEnd)); in renderMCDCView()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp858 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
859 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
860 *LineEnd != '\n') in checkAllRulesInBuffer()
861 ++LineEnd; in checkAllRulesInBuffer()
863 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
879 LineStart = LineEnd; in checkAllRulesInBuffer()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1365 const char *LineEnd = LineStart; in emitSnippetAndCaret() local
1366 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
1367 ++LineEnd; in emitSnippetAndCaret()
1371 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()
1375 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp281 assert(I->LineEnd >= I->LineStart); in write()
282 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
H A DCoverageMapping.cpp1373 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp913 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
915 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
916 ++LineEnd; in HandlePiece()
1092 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp341 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local
344 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction()
391 OS.emitLabel(LineEnd); in emitLineTableForFunction()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1164 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1165 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber()
1170 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp1915 size_t LineEnd = Data.find_first_of("\n", ParentProcPos); in getCrashDiagnosticFile() local
1916 if (LineEnd == StringRef::npos) in getCrashDiagnosticFile()
1918 StringRef ParentProcess = Data.slice(ParentProcPos+15, LineEnd).trim(); in getCrashDiagnosticFile()