Home
last modified time | relevance | path

Searched refs:CurrentLine (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DLineIterator.h39 StringRef CurrentLine; variable
80 StringRef operator*() const { return CurrentLine; }
81 const StringRef *operator->() const { return &CurrentLine; }
85 LHS.CurrentLine.begin() == RHS.CurrentLine.begin();
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DLineIterator.cpp43 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator()
58 const char *Pos = CurrentLine.end(); in advance()
87 CurrentLine = StringRef(); in advance()
97 CurrentLine = StringRef(Pos, Length); in advance()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBContext.cpp98 DILineInfo CurrentLine = getLineInfoForAddress(Address, Specifier); in getInliningInfoForAddress() local
104 InlineInfo.addFrame(CurrentLine); in getInliningInfoForAddress()
110 InlineInfo.addFrame(CurrentLine); in getInliningInfoForAddress()
134 InlineInfo.addFrame(CurrentLine); in getInliningInfoForAddress()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterLcov.cpp137 unsigned CurrentLine = NextBranch->LineStart; in renderBranchExecutionCounts() local
141 while (NextBranch != EndBranch && CurrentLine == NextBranch->LineStart) { in renderBranchExecutionCounts()
148 OS << "BRDA:" << CurrentLine << ',' << PairIndex << ',' in renderBranchExecutionCounts()
H A DCodeCoverage.cpp340 unsigned CurrentLine = NextBranch->LineStart; in attachBranchSubViews() local
341 while (NextBranch != EndBranch && CurrentLine == NextBranch->LineStart) in attachBranchSubViews()
344 View.addBranch(CurrentLine, std::move(ViewBranches)); in attachBranchSubViews()
360 unsigned CurrentLine = NextRecord->getDecisionRegion().LineEnd; in attachMCDCSubViews() local
362 CurrentLine == NextRecord->getDecisionRegion().LineEnd) in attachMCDCSubViews()
365 View.addMCDCRecord(CurrentLine, std::move(ViewMCDCRecords)); in attachMCDCSubViews()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp2696 unsigned CurrentLine, unsigned &NewLine, in checkEmptyNamespace() argument
2698 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
2703 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in checkEmptyNamespace()
2704 NewLine = CurrentLine; in checkEmptyNamespace()
2707 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in checkEmptyNamespace()
2710 while (++CurrentLine < End) { in checkEmptyNamespace()
2711 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
2714 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
2715 if (!checkEmptyNamespace(AnnotatedLines, CurrentLine, NewLine, in checkEmptyNamespace()
2719 CurrentLine = NewLine; in checkEmptyNamespace()
[all …]