Home | History | Annotate | Download | only in Format

Lines Matching full:last

315   /// \returns The column after the last token in the last line of the
343 if (Line.Last->TotalLength <= ColumnLimit - FirstIndent) {
380 /// \brief The position of the last space on each level.
934 // Return the column after the last token of the solution.
1041 return Line.Last->TotalLength - State.NextToken->Parent->TotalLength;
1240 // the last token is unchanged - thus, we can calculate the end of the
1241 // last token.
1242 SourceLocation LastLoc = TheLine.Last->FormatTok.Tok.getLocation();
1333 if (I->Last->Type == TT_LineComment)
1339 Limit = I->Last->TotalLength > Limit ? 0 : Limit - I->Last->TotalLength;
1344 if (I->Last->is(tok::l_brace)) {
1366 if (1 + (I + 1)->Last->TotalLength > Limit)
1383 if (Line.Last->isNot(tok::r_paren))
1385 if (1 + (I + 1)->Last->TotalLength > Limit)
1399 // we're not in a control flow statement and the last token is an opening
1425 if ((I + 1)->Last->Type == TT_LineComment || Tok->MustBreakBefore)
1433 // Last, check that the third line contains a single closing brace.
1447 return 1 + (I + 1)->Last->TotalLength + 1 + (I + 2)->Last->TotalLength <=
1452 unsigned LengthA = A.Last->TotalLength + B.First.SpacesRequiredBefore;
1453 A.Last->Children.push_back(B.First);
1454 while (!A.Last->Children.empty()) {
1455 A.Last->Children[0].Parent = A.Last;
1456 A.Last->Children[0].TotalLength += LengthA;
1457 A.Last = &A.Last->Children[0];
1474 const FormatToken *Last = &TheLine.Last->FormatTok;
1477 Last->Tok.getLocation());