Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp197 if (I[1]->Type == LT_Invalid || I[1]->First->MustBreakBefore) in tryFitMultipleLinesInOne()
537 if (Tok->is(tok::r_brace) && !Tok->MustBreakBefore && in tryMergeSimpleBlock()
626 if (I[1]->First->MustBreakBefore || I[2]->First->MustBreakBefore) in nextTwoLinesFitInto()
633 if (Tok->MustBreakBefore) in containsMustBreak()
740 if (Previous.Children[0]->First->MustBreakBefore) in formatChildren()
827 State, /*Newline=*/State.NextToken->MustBreakBefore, DryRun); in formatLine()
H A DFormatToken.cpp123 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
192 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
H A DTokenAnnotator.cpp1966 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()
2110 Parameter->MustBreakBefore = true; in calculateFormattingInformation()
2120 Current->MustBreakBefore = in calculateFormattingInformation()
2121 Current->MustBreakBefore || mustBreakBefore(Line, *Current); in calculateFormattingInformation()
2123 if (!Current->MustBreakBefore && InFunctionDecl && in calculateFormattingInformation()
2125 Current->MustBreakBefore = mustBreakForReturnType(Line); in calculateFormattingInformation()
2128 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()
2136 if (Current->MustBreakBefore || Prev->Children.size() > 1 || in calculateFormattingInformation()
2138 Prev->Children[0]->First->MustBreakBefore) || in calculateFormattingInformation()
3358 llvm::errs() << " M=" << Tok->MustBreakBefore in printDebugInfo()
H A DContinuationIndenter.cpp287 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
333 if (Current.MustBreakBefore || Current.is(TT_InlineASMColon)) in mustBreak()
663 P->MustBreakBefore || P->is(tok::lessless) || in addTokenOnCurrentLine()
1359 if (Tok->MustBreakBefore || in moveStatePastScopeOpener()
H A DFormatToken.h166 bool MustBreakBefore = false; member
H A DUnwrappedLineParser.cpp1337 Line->Tokens.begin()->Tok->MustBreakBefore = true; in parseStructuralElement()
2648 FormatTok->MustBreakBefore = true; in readToken()
2672 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()