Home
last modified time | relevance | path

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

/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugLineTest.cpp1564 auto NextLine = [&Pos, &OutputRef]() {
1570 EXPECT_EQ(NextLine(), "Line table prologue:");
1571 EXPECT_EQ(NextLine(), " total_length: 0x00000078");
1572 EXPECT_EQ(NextLine(), " format: DWARF32");
1573 EXPECT_EQ(NextLine(), " version: 5");
1574 EXPECT_EQ(NextLine(), " address_size: 8");
1575 EXPECT_EQ(NextLine(), " seg_select_size: 0");
1576 EXPECT_EQ(NextLine(), " prologue_length: 0x0000002c");
1577 EXPECT_EQ(NextLine(), " min_inst_length: 1");
1578 EXPECT_EQ(NextLine(), "max_ops_per_ins
1565 auto NextLine = [&Pos, &OutputRef]() { global() local
[all...]
/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp255 const auto &NextLine = *I[1]; in tryFitMultipleLinesInOne() local
256 if (NextLine.Type == LT_Invalid || NextLine.First->MustBreakBefore) in tryFitMultipleLinesInOne()
259 (!NextLine.InPPDirective || NextLine.First->HasUnescapedNewline)) { in tryFitMultipleLinesInOne()
277 NextLine.First->is(tok::r_brace)) { in tryFitMultipleLinesInOne()
285 bool EmptyBlock = NextLine.First->is(tok::r_brace); in tryFitMultipleLinesInOne()
312 auto ShouldMergeShortFunctions = [this, &I, &NextLine, PreviousLine, in tryFitMultipleLinesInOne()
317 NextLine.First->is(tok::r_brace)) { in tryFitMultipleLinesInOne()
443 if (NextLine in tryFitMultipleLinesInOne()
1351 const AnnotatedLine *NextLine = nullptr; format() local
[all...]
H A DDefinitionBlockSeparator.cpp160 AnnotatedLine *NextLine = Lines[OperateIndex + 1]; in separateBlocks() local
161 if (NextLine->MightBeFunctionDecl && in separateBlocks()
162 NextLine->mightBeFunctionDefinition() && in separateBlocks()
163 NextLine->First->NewlinesBefore == 1 && in separateBlocks()
H A DUnwrappedLineFormatter.h55 const AnnotatedLine *NextLine) const;
H A DFormat.cpp484 IO.enumCase(Value, "NextLine", FormatStyle::PCIS_NextLine); in enumeration()
2311 const auto *NextLine = I + 1 == End ? nullptr : I[1]; in removeSemi()
2320 if (!Next && NextLine) in removeSemi()
2321 Next = NextLine->First; in removeSemi()
2372 const auto *NextLine = I + 1 == End ? nullptr : I[1]; in requoteJSStringLiteral()
2381 if (!Next && NextLine) in requoteJSStringLiteral()
2382 Next = NextLine->First; in requoteJSStringLiteral()
2245 const auto NextLine = I + 1 == End ? nullptr : I[1]; removeBraces() local
2305 const auto NextLine = I + 1 == End ? nullptr : I[1]; removeSemi() local
/llvm-project/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()
162 addDebugifyOperand(NextLine - 1); in applyDebugifyMetadataToMachineFunction()
177 setDebugifyOperand(0, NextLine - 1); in applyDebugifyMetadataToMachineFunction()
H A DInlineSpiller.cpp852 char NextLine = '\n'; in dumpMachineInstrRangeWithSlotIndex()
856 NextLine = ' '; in dumpMachineInstrRangeWithSlotIndex()
860 dbgs() << '\t' << header << ": " << NextLine; in dumpMachineInstrRangeWithSlotIndex()
853 char NextLine = '\n'; dumpMachineInstrRangeWithSlotIndex() local
/llvm-project/flang/lib/Parser/
H A Dprescan.cpp120 NextLine(); in Statement()
124 NextLine(); in Statement()
369 void Prescanner::NextLine() { in LabelField()
570 NextLine(); in SkipWhiteSpaceAndCComments()
913 NextLine(); in Hollerith()
1183 NextLine(); in FixedFormContinuationLine()
1354 NextLine(); in IsFixedFormCompilerDirectiveLine()
1381 NextLine();
1409 NextLine(); in IsCompilerDirectiveSentinel()
1613 NextLine(); in SourceLineContinuation()
329 void Prescanner::NextLine() { NextLine() function in Fortran::parser::Prescanner
[all...]
H A Dprescan.h76 void NextLine();
123 NextLine(); in BeginStatementAndAdvance()
H A Dpreprocessor.cpp873 prescanner.NextLine(); in ExpressionValue()
/llvm-project/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/llvm/lib/Transforms/Utils/
H A DDebugify.cpp106 unsigned NextLine = 1; in applyDebugifyMetadata() local
123 auto SP = DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine, in applyDebugifyMetadata()
124 SPType, NextLine, DINode::FlagZero, SPFlags); in applyDebugifyMetadata()
146 I.setDebugLoc(DILocation::get(Ctx, NextLine++, 1, SP)); in applyDebugifyMetadata()
202 addDebugifyOperand(NextLine - 1); // Original number of lines. in applyDebugifyMetadata()
/llvm-project/libcxx/
H A D.clang-format64 PackConstructorInitializers: NextLine
/llvm-project/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/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp1578 auto NextLine = Seq.back(); in cloneAndEmitLineTable()
1579 NextLine.Address.Address = StopAddress; in cloneAndEmitLineTable()
1580 NextLine.EndSequence = 1; in cloneAndEmitLineTable()
1581 NextLine.PrologueEnd = 0; in cloneAndEmitLineTable() local
1582 NextLine.BasicBlock = 0; in cloneAndEmitLineTable()
1583 NextLine.EpilogueBegin = 0; in cloneAndEmitLineTable()
1584 Seq.push_back(NextLine); in cloneAndEmitLineTable()
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp2212 auto NextLine = Seq.back(); in generateLineTableForUnit()
2213 NextLine.Address.Address = StopAddress; in generateLineTableForUnit()
2214 NextLine.EndSequence = 1; in generateLineTableForUnit()
2215 NextLine.PrologueEnd = 0;
2216 NextLine.BasicBlock = 0; in emitAcceleratorEntriesForUnit()
2217 NextLine.EpilogueBegin = 0; in emitAcceleratorEntriesForUnit()
2218 Seq.push_back(NextLine); in emitAcceleratorEntriesForUnit()
2181 auto NextLine = Seq.back(); generateLineTableForUnit() local
/llvm-project/clang/lib/Lex/
H A DLexer.cpp2638 const char *NextLine = CurPtr; in SkipLineComment()
2676 CurPtr = NextLine; in SkipLineComment()
2614 const char *NextLine = CurPtr; SkipLineComment() local
/llvm-project/clang/docs/
H A DClangFormatStyleOptions.rst1724 This option is **deprecated**. See ``NextLine`` of
5156 * ``PCIS_NextLine`` (in configuration: ``NextLine``)