Home
last modified time | relevance | path

Searched refs:NextLine (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugLineTest.cpp1518 auto NextLine = [&Pos, &OutputRef]() { local
1547 EXPECT_EQ(NextLine(),
1553 EXPECT_EQ(NextLine(), "file_names[ 0]:");
1556 EXPECT_EQ(NextLine(), "");
1559 EXPECT_EQ(NextLine(),
1561 EXPECT_EQ(NextLine(),
1563 EXPECT_EQ(NextLine(),
1565 EXPECT_EQ(NextLine(),
1579 EXPECT_EQ(NextLine(),
1589 EXPECT_EQ(NextLine(),
[all …]
/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp242 const auto &NextLine = *I[1]; in tryFitMultipleLinesInOne() local
243 if (NextLine.Type == LT_Invalid || NextLine.First->MustBreakBefore) in tryFitMultipleLinesInOne()
246 (!NextLine.InPPDirective || NextLine.First->HasUnescapedNewline)) { in tryFitMultipleLinesInOne()
264 NextLine.First->is(tok::r_brace)) { in tryFitMultipleLinesInOne()
304 NextLine.First->is(tok::r_brace)) { in tryFitMultipleLinesInOne()
408 if (NextLine.First->is(tok::l_brace)) { in tryFitMultipleLinesInOne()
521 if (NextLine.Last->is(TT_LineComment)) in tryFitMultipleLinesInOne()
532 NextLine.First == NextLine.Last && I + 2 != E && in tryFitMultipleLinesInOne()
1284 const AnnotatedLine *NextLine = nullptr; in format() local
1511 (!NextLine || in getColumnLimit()
[all …]
H A DDefinitionBlockSeparator.cpp158 AnnotatedLine *NextLine = Lines[OperateIndex + 1]; in separateBlocks() local
159 if (NextLine->MightBeFunctionDecl && in separateBlocks()
160 NextLine->mightBeFunctionDefinition() && in separateBlocks()
161 NextLine->First->NewlinesBefore == 1 && in separateBlocks()
H A DUnwrappedLineFormatter.h57 const AnnotatedLine *NextLine) const;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineDebugify.cpp47 unsigned NextLine = SP->getLine(); in applyDebugifyMetadataToMachineFunction() local
54 MI.setDebugLoc(DILocation::get(Ctx, NextLine++, 1, SP)); in applyDebugifyMetadataToMachineFunction()
146 addDebugifyOperand(NextLine - 1); in applyDebugifyMetadataToMachineFunction()
157 setDebugifyOperand(0, NextLine - 1); in applyDebugifyMetadataToMachineFunction()
H A DInlineSpiller.cpp769 char NextLine = '\n'; in dumpMachineInstrRangeWithSlotIndex() local
773 NextLine = ' '; in dumpMachineInstrRangeWithSlotIndex()
777 dbgs() << '\t' << header << ": " << NextLine; in dumpMachineInstrRangeWithSlotIndex()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dprescan.cpp96 NextLine(); in Statement()
100 NextLine(); in Statement()
254 void Prescanner::NextLine() { in NextLine() function in Fortran::parser::Prescanner
427 NextLine(); in SkipCComments()
890 NextLine(); in SkipCommentLine()
1035 NextLine(); in FixedFormContinuation()
1059 NextLine(); in FreeFormContinuation()
H A Dprescan.h64 void NextLine();
104 NextLine(); in BeginSourceLineAndAdvance()
H A Dpreprocessor.cpp680 prescanner.NextLine(); in SkipDisabledConditionalCode()
/llvm-project-15.0.7/clang/lib/AST/
H A DCommentLexer.cpp498 const char *NextLine; in lexVerbatimBlockFirstLine() local
502 NextLine = skipNewline(Newline, CommentEnd); in lexVerbatimBlockFirstLine()
514 NextLine = TextEnd; in lexVerbatimBlockFirstLine()
523 formTokenWithChars(T, NextLine, tok::verbatim_block_line); in lexVerbatimBlockFirstLine()
/llvm-project-15.0.7/libcxx/
H A D.clang-format69 PackConstructorInitializers: NextLine
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDebugify.cpp105 unsigned NextLine = 1; in applyDebugifyMetadata() local
122 auto SP = DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine, in applyDebugifyMetadata()
123 SPType, NextLine, DINode::FlagZero, SPFlags); in applyDebugifyMetadata()
145 I.setDebugLoc(DILocation::get(Ctx, NextLine++, 1, SP)); in applyDebugifyMetadata()
201 addDebugifyOperand(NextLine - 1); // Original number of lines. in applyDebugifyMetadata()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFormat.cpp169 StringRef NextLine = firstLine(Code.substr(Cursor + Trailing.size() + 1)); in getIncrementalChangesAfterNewline() local
182 (NewLineIsComment || !commentMarker(NextLine).empty() || in getIncrementalChangesAfterNewline()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp1759 auto NextLine = Seq.back(); in patchLineTableForUnit() local
1760 NextLine.Address.Address = StopAddress; in patchLineTableForUnit()
1761 NextLine.EndSequence = 1; in patchLineTableForUnit()
1762 NextLine.PrologueEnd = 0; in patchLineTableForUnit()
1763 NextLine.BasicBlock = 0; in patchLineTableForUnit()
1764 NextLine.EpilogueBegin = 0; in patchLineTableForUnit()
1765 Seq.push_back(NextLine); in patchLineTableForUnit()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp2427 const char *NextLine = CurPtr; in SkipLineComment() local
2465 CurPtr = NextLine; in SkipLineComment()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst876 This option is **deprecated**. See ``NextLine`` of
3448 * ``PCIS_NextLine`` (in configuration: ``NextLine``)