Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Format/
HDUnwrappedLineFormatter.cpp171 if (I[1]->Type == LT_Invalid || I[1]->First->MustBreakBefore) in tryFitMultipleLinesInOne()
357 if (Tok->is(tok::r_brace) && !Tok->MustBreakBefore && in tryMergeSimpleBlock()
418 if (I[1]->First->MustBreakBefore || I[2]->First->MustBreakBefore) in nextTwoLinesFitInto()
425 if (Tok->MustBreakBefore) in containsMustBreak()
529 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()
HDFormatToken.cpp118 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
178 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
HDTokenAnnotator.cpp1457 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()
1534 Parameter->MustBreakBefore = true; in calculateFormattingInformation()
1544 Current->MustBreakBefore = in calculateFormattingInformation()
1545 Current->MustBreakBefore || mustBreakBefore(Line, *Current); in calculateFormattingInformation()
1555 Current->MustBreakBefore = true; in calculateFormattingInformation()
1558 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()
1566 if (Current->MustBreakBefore || Prev->Children.size() > 1 || in calculateFormattingInformation()
1568 Prev->Children[0]->First->MustBreakBefore) || in calculateFormattingInformation()
2276 llvm::errs() << " M=" << Tok->MustBreakBefore in printDebugInfo()
HDFormatToken.h154 bool MustBreakBefore = false; member
HDContinuationIndenter.cpp102 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
139 if (Current.MustBreakBefore || Current.is(TT_InlineASMColon)) in mustBreak()
917 if (Tok->MustBreakBefore || in moveStatePastScopeOpener()
HDUnwrappedLineParser.cpp1892 FormatTok->MustBreakBefore = true; in readToken()
1916 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()