Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormatToken.h80 CodePointCount(0), IsFirst(false), MustBreakBefore(false), in FormatToken()
121 bool MustBreakBefore; member
DTokenAnnotator.cpp949 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate()
965 Current->MustBreakBefore = Current->NewlinesBefore > 0; in calculateFormattingInformation()
969 Current->MustBreakBefore = true; in calculateFormattingInformation()
971 Current->MustBreakBefore = true; in calculateFormattingInformation()
975 Current->MustBreakBefore = true; in calculateFormattingInformation()
978 Current->MustBreakBefore = true; in calculateFormattingInformation()
981 Current->MustBreakBefore = true; in calculateFormattingInformation()
984 Current->MustBreakBefore || canBreakBefore(Line, *Current); in calculateFormattingInformation()
985 if (Current->MustBreakBefore || in calculateFormattingInformation()
1337 llvm::errs() << " M=" << Tok->MustBreakBefore in printDebugInfo()
DFormat.cpp1208 if (!Current.MustBreakBefore && Previous.is(tok::l_brace) && in canBreak()
1227 if (Current.MustBreakBefore || Current.Type == TT_InlineASMColon) in mustBreak()
1754 if (Tok->is(tok::r_brace) && !Tok->MustBreakBefore && in tryMergeSimpleBlock()
1770 if ((I + 1)->Last->Type == TT_LineComment || Tok->MustBreakBefore) in tryMergeSimpleBlock()
1781 Tok->MustBreakBefore) in tryMergeSimpleBlock()
DUnwrappedLineParser.cpp1164 Line->Tokens.back()->MustBreakBefore = true; in pushToken()