Home
last modified time | relevance | path

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

/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();
/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()
/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.cpp483 IO.enumCase(Value, "CurrentLine", FormatStyle::PCIS_CurrentLine); in enumeration()
2758 // The function checks if the namespace, which starts from \p CurrentLine, and in cleanupPair()
2763 unsigned CurrentLine, unsigned &NewLine, in cleanupPair()
2765 unsigned InitLine = CurrentLine, End = AnnotatedLines.size(); in cleanupPair()
2770 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { in cleanupPair()
2771 NewLine = CurrentLine; in cleanupPair()
2774 } else if (!AnnotatedLines[CurrentLine]->endsWith(tok::l_brace)) { in cleanupPair()
2777 while (++CurrentLine < End) { in cleanupPair()
2778 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace)) in cleanupPair()
2781 if (AnnotatedLines[CurrentLine] in cleanupPair()
2696 checkEmptyNamespace(SmallVectorImpl<AnnotatedLine * > & AnnotatedLines,unsigned CurrentLine,unsigned & NewLine,std::set<unsigned> & DeletedLines) checkEmptyNamespace() argument
[all...]
/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()
/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()
/llvm-project/llvm/tools/llvm-profgen/
H A DPerfReader.h31 std::string CurrentLine; variable
45 return CurrentLine; in getCurrentLine()
54 if (!std::getline(Fin, CurrentLine)) { in advance()
/llvm-project/clang/docs/
H A DClangFormatStyleOptions.rst3738 This option is **deprecated**. See ``CurrentLine`` of
5143 * ``PCIS_CurrentLine`` (in configuration: ``CurrentLine``)