Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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();
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
173 !LikelyDefinition(CurrentLine, /*ExcludeEnum=*/true)) { in separateBlocks()
186 TargetLine = CurrentLine; in separateBlocks()
193 } else if (CurrentLine->First->closesScope()) { in separateBlocks()
H A DFormat.cpp2493 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in checkEmptyNamespace()
2499 NewLine = CurrentLine; in checkEmptyNamespace()
2505 while (++CurrentLine < End) { in checkEmptyNamespace()
2506 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in checkEmptyNamespace()
2509 if (AnnotatedLines[CurrentLine]->startsWithNamespace()) { in checkEmptyNamespace()
2514 CurrentLine = NewLine; in checkEmptyNamespace()
2518 if (containsOnlyComments(*AnnotatedLines[CurrentLine])) in checkEmptyNamespace()
2523 NewLine = CurrentLine; in checkEmptyNamespace()
2527 NewLine = CurrentLine; in checkEmptyNamespace()
2528 if (CurrentLine >= End) in checkEmptyNamespace()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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.cpp339 unsigned CurrentLine = NextBranch->LineStart; in attachBranchSubViews() local
341 while (NextBranch != EndBranch && CurrentLine == NextBranch->LineStart) in attachBranchSubViews()
347 View.addBranch(CurrentLine, ViewBranches, std::move(SubView)); in attachBranchSubViews()
/openbsd/gnu/llvm/llvm/tools/llvm-profgen/
H A DPerfReader.h30 std::string CurrentLine; variable
44 return CurrentLine; in getCurrentLine()
53 if (!std::getline(Fin, CurrentLine)) { in advance()
/openbsd/gnu/llvm/clang/docs/
H A DClangFormatStyleOptions.rst2638 This option is **deprecated**. See ``CurrentLine`` of
3892 * ``PCIS_CurrentLine`` (in configuration: ``CurrentLine``)