Home
last modified time | relevance | path

Searched refs:CanBreakBefore (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DContinuationIndenter.cpp94 if (End->Next->CanBreakBefore) in getLengthToMatchingParen()
284 if (!Current.CanBreakBefore && !(CurrentState.BreakBeforeClosingBrace && in canBreak()
341 if (Style.BraceWrapping.BeforeLambdaBody && Current.CanBreakBefore && in mustBreak()
449 Current.CanBreakBefore) { in mustBreak()
469 if (Previous.is(TT_BinaryOperator) && Current.CanBreakBefore) { in mustBreak()
495 } else if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore && in mustBreak()
957 if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore) in addTokenOnNewLine()
1687 (Tok->CanBreakBefore && Tok->NewlinesBefore > 0)) { in moveStatePastScopeOpener()
H A DFormatToken.cpp231 while (ItemEnd->Next && !ItemEnd->Next->CanBreakBefore) in precomputeFormattingInfos()
H A DFormatToken.h231 CanBreakBefore(false), ClosesTemplateDeclaration(false), in FormatToken()
276 unsigned CanBreakBefore : 1; member
H A DUnwrappedLineFormatter.cpp775 Tok->CanBreakBefore = true; in tryMergeSimpleBlock()
881 B.First->CanBreakBefore = true; in join()
H A DTokenAnnotator.cpp2706 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()
2916 Current->CanBreakBefore = in calculateFormattingInformation()
2982 if (Current->CanBreakBefore || in calculateUnbreakableTailLengths()
4949 << " C=" << Tok->CanBreakBefore in printDebugInfo()