Searched refs:MustBreakBefore (Results 1 – 6 of 6) sorted by relevance
124 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()193 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
212 if (I[1]->Type == LT_Invalid || I[1]->First->MustBreakBefore) in tryFitMultipleLinesInOne()620 if (Tok->is(tok::r_brace) && !Tok->MustBreakBefore && in tryMergeSimpleBlock()721 if (I[1]->First->MustBreakBefore || I[2]->First->MustBreakBefore) in nextTwoLinesFitInto()728 if (Tok->MustBreakBefore) in containsMustBreak()833 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()921 State, /*Newline=*/State.NextToken->MustBreakBefore, DryRun); in formatLine()
286 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()337 if (Current.MustBreakBefore || Current.is(TT_InlineASMColon)) in mustBreak()689 P->MustBreakBefore || P->is(tok::lessless) || in addTokenOnCurrentLine()1200 ((Current.MustBreakBefore) || in moveStateToNextToken()1202 Current.getNextNonComment()->MustBreakBefore))) in moveStateToNextToken()1526 if (Tok->MustBreakBefore || in moveStatePastScopeOpener()
2340 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()2502 Parameter->MustBreakBefore = true; in calculateFormattingInformation()2512 Current->MustBreakBefore = in calculateFormattingInformation()2513 Current->MustBreakBefore || mustBreakBefore(Line, *Current); in calculateFormattingInformation()2515 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()2517 Current->MustBreakBefore = mustBreakForReturnType(Line); in calculateFormattingInformation()2520 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()2528 if (Current->MustBreakBefore || Prev->Children.size() > 1 || in calculateFormattingInformation()2530 Prev->Children[0]->First->MustBreakBefore) || in calculateFormattingInformation()3488 if (curElt->MustBreakBefore) in isOneChildWithoutMustBreakBefore()[all …]
212 MustBreakBefore(false), IsUnterminatedLiteral(false), in FormatToken()251 unsigned MustBreakBefore : 1; member
1458 Line->Tokens.begin()->Tok->MustBreakBefore = true; in parseStructuralElement()1491 FormatTok->MustBreakBefore = true; in parseStructuralElement()3245 FormatTok->MustBreakBefore = true; in readToken()3269 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()