Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/clang/lib/Format/
H A DDefinitionBlockSeparator.cpp78 const auto &CurrentLine = Lines[I]; in separateBlocks() local
79 if (CurrentLine->InPPDirective) in separateBlocks()
83 auto OpeningLineIndex = CurrentLine->MatchingOpeningBlockLineIndex; in separateBlocks()
122 for (const FormatToken *CurrentToken = CurrentLine->First; CurrentToken; in separateBlocks()
175 !LikelyDefinition(CurrentLine, /*ExcludeEnum=*/true)) { in separateBlocks()
188 TargetLine = CurrentLine; in separateBlocks()
195 } else if (CurrentLine->First->closesScope()) { in separateBlocks()
H A DFormat.cpp2665 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
2671 NewLine = CurrentLine; in checkEmptyNamespace()
2677 while (++CurrentLine < End) { in checkEmptyNamespace()
2678 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
2681 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
2686 CurrentLine = NewLine; in checkEmptyNamespace()
2690 if (containsOnlyComments(*AnnotatedLines[CurrentLine])) in checkEmptyNamespace()
2695 NewLine = CurrentLine; in checkEmptyNamespace()
2699 NewLine = CurrentLine; in checkEmptyNamespace()
2700 if (CurrentLine >= End) in checkEmptyNamespace()
[all …]
/freebsd-14.2/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-14.2/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.cpp347 unsigned CurrentLine = NextBranch->LineStart; in attachBranchSubViews() local
349 while (NextBranch != EndBranch && CurrentLine == NextBranch->LineStart) in attachBranchSubViews()
355 View.addBranch(CurrentLine, ViewBranches, std::move(SubView)); in attachBranchSubViews()
375 unsigned CurrentLine = NextRecord->getDecisionRegion().LineEnd; in attachMCDCSubViews() local
378 CurrentLine == NextRecord->getDecisionRegion().LineEnd) { in attachMCDCSubViews()
387 View.addMCDCRecord(CurrentLine, ViewMCDCRecords, std::move(SubView)); in attachMCDCSubViews()