Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp256 if (NextLine.Type == LT_Invalid || NextLine.First->MustBreakBefore) in tryFitMultipleLinesInOne()
817 if (Tok->isNot(tok::r_brace) || Tok->MustBreakBefore) in tryMergeSimpleBlock()
914 if (I[1]->First->MustBreakBefore || I[2]->First->MustBreakBefore) in nextTwoLinesFitInto()
924 if (Tok->MustBreakBefore) in containsMustBreak()
974 Tok->MustBreakBefore = 0; in markFinalized()
1051 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()
1142 State, /*Newline=*/State.NextToken->MustBreakBefore, DryRun); in formatLine()
H A DFormatToken.cpp137 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
212 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
H A DContinuationIndenter.cpp301 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
380 if (Current.MustBreakBefore || in mustBreak()
872 P->MustBreakBefore || P->is(tok::lessless) || in addTokenOnCurrentLine()
1527 if (Tok.MustBreakBefore) in moveStateToNextToken()
1531 return Next && Next->MustBreakBefore; in moveStateToNextToken()
1653 State.NextToken->MustBreakBefore && in moveStateToNextToken()
1921 if (Tok->MustBreakBefore || in moveStatePastScopeOpener()
H A DTokenAnnotator.cpp1301 CurrentToken->MustBreakBefore = true; in consumeToken()
3686 First->CanBreakBefore = First->MustBreakBefore; in annotate()
3922 AfterLastAttribute->MustBreakBefore = true; in calculateFormattingInformation()
4002 Parameter->MustBreakBefore = true; in calculateFormattingInformation()
4015 Current->MustBreakBefore = true; in calculateFormattingInformation()
4017 Current->MustBreakBefore = in calculateFormattingInformation()
4018 Current->MustBreakBefore || mustBreakBefore(Line, *Current); in calculateFormattingInformation()
4019 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
4021 Current->MustBreakBefore = mustBreakForReturnType(Line); in calculateFormattingInformation()
4026 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()
[all …]
H A DQualifierAlignmentFixer.cpp566 if (Tok->MustBreakBefore) in fixQualifierAlignment()
H A DFormatToken.h301 MustBreakBefore(false), MustBreakBeforeFinalized(false), in FormatToken()
343 unsigned MustBreakBefore : 1; member
H A DUnwrappedLineParser.cpp1685 Line->Tokens.begin()->Tok->MustBreakBefore = true; in parseStructuralElement()
4839 FormatTok->MustBreakBefore = true; in readToken()
5058 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()