Lines Matching refs:FormatStyle

45   LevelIndentTracker(const FormatStyle &Style,  in LevelIndentTracker()
63 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None && in nextLine()
65 (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash && in nextLine()
112 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in getIndentOffset()
163 const FormatStyle &Style;
207 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner()
308 if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All) in tryFitMultipleLinesInOne()
310 if (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
316 FormatStyle::SFS_InlineOnly) { in tryFitMultipleLinesInOne()
410 return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never in tryFitMultipleLinesInOne()
422 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
435 FormatStyle::BWACS_Always) in tryFitMultipleLinesInOne()
441 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
538 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
559 FormatStyle::SIS_AllIfsAndElse))) { in tryFitMultipleLinesInOne()
601 FormatStyle::BWACS_Always && in tryMergeSimpleControlStatement()
603 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) { in tryMergeSimpleControlStatement()
628 FormatStyle::SIS_WithoutElse) { in tryMergeSimpleControlStatement()
705 if (Style.Language != FormatStyle::LK_Java && in tryMergeSimpleBlock()
729 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never || in tryMergeSimpleBlock()
730 (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Empty && in tryMergeSimpleBlock()
750 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
765 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
840 FormatStyle::BWACS_MultiLine) { in tryMergeSimpleBlock()
855 if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never || in tryMergeSimpleBlock()
911 const FormatStyle &Style;
942 const FormatStyle &Style, in LineFormatter()
992 if (Style.LambdaBodyIndentation == FormatStyle::LBI_OuterScope && in formatChildren()
1048 const FormatStyle &Style;
1057 const FormatStyle &Style, in NoColumnLimitLineFormatter()
1084 WhitespaceManager *Whitespaces, const FormatStyle &Style, in NoLineBreakFormatter()
1108 const FormatStyle &Style, in OptimizingLineFormatter()
1458 case FormatStyle::ELBAMS_Never: in formatFirstToken()
1462 case FormatStyle::ELBAMS_Leave: in formatFirstToken()
1465 case FormatStyle::ELBAMS_LogicalBlock: in formatFirstToken()
1471 case FormatStyle::ELBAMS_Always: { in formatFirstToken()
1490 case FormatStyle::ELAAMS_Never: in formatFirstToken()
1493 case FormatStyle::ELAAMS_Leave: in formatFirstToken()
1496 case FormatStyle::ELAAMS_Always: in formatFirstToken()
1512 Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash && in formatFirstToken()