Home
last modified time | relevance | path

Searched refs:MustBreakBefore (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp257 if (NextLine.Type == LT_Invalid || NextLine.First->MustBreakBefore) in tryFitMultipleLinesInOne()
808 if (Tok->isNot(tok::r_brace) || Tok->MustBreakBefore) in tryMergeSimpleBlock()
905 if (I[1]->First->MustBreakBefore || I[2]->First->MustBreakBefore) in nextTwoLinesFitInto()
915 if (Tok->MustBreakBefore) in containsMustBreak()
965 Tok->MustBreakBefore = 0; in markFinalized()
1042 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()
1133 State, /*Newline=*/State.NextToken->MustBreakBefore, DryRun); in formatLine()
H A DFormatToken.cpp159 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
234 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
H A DContinuationIndenter.cpp301 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
372 if (Current.MustBreakBefore || in mustBreak()
862 P->MustBreakBefore || P->is(tok::lessless) || in addTokenOnCurrentLine()
1504 if (Tok.MustBreakBefore) in moveStateToNextToken()
1508 return Next && Next->MustBreakBefore; in moveStateToNextToken()
1630 State.NextToken->MustBreakBefore && in moveStateToNextToken()
1881 if (Tok->MustBreakBefore || in moveStatePastScopeOpener()
H A DTokenAnnotator.cpp983 CurrentToken->MustBreakBefore = true; in consumeToken()
3276 First->CanBreakBefore = First->MustBreakBefore; in annotate()
3502 AfterLastAttribute->MustBreakBefore = true; in calculateFormattingInformation()
3582 Parameter->MustBreakBefore = true; in calculateFormattingInformation()
3595 Current->MustBreakBefore = true; in calculateFormattingInformation()
3597 Current->MustBreakBefore = in calculateFormattingInformation()
3599 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
3601 Current->MustBreakBefore = mustBreakForReturnType(Line); in calculateFormattingInformation()
3615 Prev->Children[0]->First->MustBreakBefore) || in calculateFormattingInformation()
3693 CurrentToken->Next->MustBreakBefore = true; in calculateArrayInitializerColumnList()
[all …]
H A DFormatToken.h279 MustBreakBefore(false), MustBreakBeforeFinalized(false), in FormatToken()
321 unsigned MustBreakBefore : 1; member
H A DUnwrappedLineParser.cpp1674 Line->Tokens.begin()->Tok->MustBreakBefore = true; in parseStructuralElement()
4724 FormatTok->MustBreakBefore = true; in readToken()
4941 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()