Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.cpp102 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
151 MustBreakBeforeItem.push_back(ItemBegin->MustBreakBefore); in precomputeFormattingInfos()
DFormatToken.h104 IsFirst(false), MustBreakBefore(false), IsUnterminatedLiteral(false), in FormatToken()
156 bool MustBreakBefore; member
DTokenAnnotator.cpp1199 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()
1277 Parameter->MustBreakBefore = true; in calculateFormattingInformation()
1287 Current->MustBreakBefore = in calculateFormattingInformation()
1288 Current->MustBreakBefore || mustBreakBefore(Line, *Current); in calculateFormattingInformation()
1291 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()
1298 if (Current->MustBreakBefore || Current->Previous->Children.size() > 1 || in calculateFormattingInformation()
1820 llvm::errs() << " M=" << Tok->MustBreakBefore in printDebugInfo()
DFormat.cpp591 if (I + 1 == E || I[1]->Type == LT_Invalid || I[1]->First->MustBreakBefore) in tryFitMultipleLinesInOne()
720 if (Tok->is(tok::r_brace) && !Tok->MustBreakBefore && in tryMergeSimpleBlock()
775 if (I[1]->First->MustBreakBefore || I[2]->First->MustBreakBefore) in nextTwoLinesFitInto()
782 if (Tok->MustBreakBefore) in containsMustBreak()
DUnwrappedLineParser.cpp1557 FormatTok->MustBreakBefore = true; in readToken()
1581 Line->Tokens.back().Tok->MustBreakBefore = true; in pushToken()
DContinuationIndenter.cpp100 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
130 if (Current.MustBreakBefore || Current.Type == TT_InlineASMColon) in mustBreak()