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.h271 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
277 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion()
279 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
284 unsigned ColumnStart, unsigned LineEnd,
289 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in Count()
294 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion()
297 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion()
302 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion()
304 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
309 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.cpp86 bool LineEnd = true) { in getStatString() argument
94 if (LineEnd) in getStatString()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp226 unsigned LineEnd; member
235 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
245 return (LineStart < LineEnd) || in isInSourceOrder()
246 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder()
454 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange()
455 SR.LineEnd--; in adjustSkippedRange()
476 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions()
500 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions()
505 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions()
557 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
[all …]
/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()
113 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.cpp349 OS << DecisionRegion.LineEnd << ":"; in renderMCDCView()
H A DSourceCoverageViewHTML.cpp1182 LineNoStr = utostr(uint64_t(DecisionRegion.LineEnd)); in renderMCDCView()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp219 FormatToken *LineEnd = nullptr; member in clang::format::JavaScriptImportSorter
236 if (!Current || Current == LineEnd->Next) { in nextToken()
373 LineEnd = Line->Last; in parseModuleReferences()
418 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp859 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
860 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
861 *LineEnd != '\n') in checkAllRulesInBuffer()
862 ++LineEnd; in checkAllRulesInBuffer()
864 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
880 LineStart = LineEnd; in checkAllRulesInBuffer()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1368 const char *LineEnd = LineStart; in emitSnippetAndCaret() local
1369 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
1370 ++LineEnd; in emitSnippetAndCaret()
1374 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()
1378 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp282 assert(I->LineEnd >= I->LineStart); in write()
283 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
H A DCoverageMapping.cpp1325 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp915 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
917 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
918 ++LineEnd; in HandlePiece()
1094 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp353 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local
356 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction()
405 OS.emitLabel(LineEnd); in emitLineTableForFunction()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1159 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1160 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber()
1165 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp1615 size_t LineEnd = Data.find_first_of("\n", ParentProcPos); in getCrashDiagnosticFile() local
1616 if (LineEnd == StringRef::npos) in getCrashDiagnosticFile()
1618 StringRef ParentProcess = Data.slice(ParentProcPos+15, LineEnd).trim(); in getCrashDiagnosticFile()