Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DUnwrappedLineFormatter.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()
DFormatToken.cpp119 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
186 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
DTokenAnnotator.cpp1585 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()
1726 Parameter->MustBreakBefore = true; in calculateFormattingInformation()
1736 Current->MustBreakBefore = in calculateFormattingInformation()
1737 Current->MustBreakBefore || mustBreakBefore(Line, *Current); in calculateFormattingInformation()
1739 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
1741 Current->MustBreakBefore = mustBreakForReturnType(Line); in calculateFormattingInformation()
1744 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()
1752 if (Current->MustBreakBefore || Prev->Children.size() > 1 || in calculateFormattingInformation()
1754 Prev->Children[0]->First->MustBreakBefore) || in calculateFormattingInformation()
2515 llvm::errs() << " M=" << Tok->MustBreakBefore in printDebugInfo()
DContinuationIndenter.cpp108 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
145 if (Current.MustBreakBefore || Current.is(TT_InlineASMColon)) in mustBreak()
988 if (Tok->MustBreakBefore || in moveStatePastScopeOpener()
DFormatToken.h155 bool MustBreakBefore = false; member
DUnwrappedLineParser.cpp1065 Line->Tokens.begin()->Tok->MustBreakBefore = true; in parseStructuralElement()
2083 FormatTok->MustBreakBefore = true; in readToken()
2107 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()