Home
last modified time | relevance | path

Searched refs:TheLine (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp42 const AnnotatedLine *TheLine = *I; in tryFitMultipleLinesInOne() local
43 if (TheLine->Last->is(TT_LineComment)) in tryFitMultipleLinesInOne()
47 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne()
58 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne()
60 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne()
69 TheLine->Level != 0); in tryFitMultipleLinesInOne()
71 if (TheLine->Last->is(TT_FunctionLBrace) && in tryFitMultipleLinesInOne()
72 TheLine->First != TheLine->Last) { in tryFitMultipleLinesInOne()
75 if (TheLine->Last->is(tok::l_brace)) { in tryFitMultipleLinesInOne()
86 if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine))) in tryFitMultipleLinesInOne()
[all …]
DFormat.cpp1450 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override { in consumeUnwrappedLine() argument
1452 UnwrappedLines.back().push_back(TheLine); in consumeUnwrappedLine()