Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp168 const AnnotatedLine *TheLine = *I; in tryFitMultipleLinesInOne() local
169 if (TheLine->Last->is(TT_LineComment)) in tryFitMultipleLinesInOne()
173 if (TheLine->InPPDirective && in tryFitMultipleLinesInOne()
184 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne()
186 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne()
195 TheLine->Level != 0); in tryFitMultipleLinesInOne()
197 if (TheLine->Last->is(TT_FunctionLBrace) && in tryFitMultipleLinesInOne()
198 TheLine->First != TheLine->Last) { in tryFitMultipleLinesInOne()
201 if (TheLine->Last->is(tok::l_brace)) { in tryFitMultipleLinesInOne()
212 if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine))) in tryFitMultipleLinesInOne()
[all …]
DFormat.cpp1695 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override { in consumeUnwrappedLine() argument
1697 UnwrappedLines.back().push_back(TheLine); in consumeUnwrappedLine()