Lines Matching refs:FormatStyle
45 LevelIndentTracker(const FormatStyle &Style, in LevelIndentTracker()
105 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in getIndentOffset()
156 const FormatStyle &Style;
200 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner()
301 if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All) in tryFitMultipleLinesInOne()
303 if (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
309 FormatStyle::SFS_InlineOnly) { in tryFitMultipleLinesInOne()
403 return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never in tryFitMultipleLinesInOne()
415 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
428 FormatStyle::BWACS_Always) in tryFitMultipleLinesInOne()
434 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
531 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
552 FormatStyle::SIS_AllIfsAndElse))) { in tryFitMultipleLinesInOne()
594 FormatStyle::BWACS_Always && in tryMergeSimpleControlStatement()
596 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) { in tryMergeSimpleControlStatement()
621 FormatStyle::SIS_WithoutElse) { in tryMergeSimpleControlStatement()
695 if (Style.Language != FormatStyle::LK_Java && in tryMergeSimpleBlock()
716 if (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) in tryMergeSimpleBlock()
718 if (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Empty && in tryMergeSimpleBlock()
733 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
748 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
818 FormatStyle::BWACS_MultiLine) { in tryMergeSimpleBlock()
833 if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never || in tryMergeSimpleBlock()
889 const FormatStyle &Style;
920 const FormatStyle &Style, in LineFormatter()
970 if (Style.LambdaBodyIndentation == FormatStyle::LBI_OuterScope && in formatChildren()
1026 const FormatStyle &Style;
1035 const FormatStyle &Style, in NoColumnLimitLineFormatter()
1062 WhitespaceManager *Whitespaces, const FormatStyle &Style, in NoLineBreakFormatter()
1086 const FormatStyle &Style, in OptimizingLineFormatter()
1436 case FormatStyle::ELBAMS_Never: in formatFirstToken()
1440 case FormatStyle::ELBAMS_Leave: in formatFirstToken()
1443 case FormatStyle::ELBAMS_LogicalBlock: in formatFirstToken()
1449 case FormatStyle::ELBAMS_Always: { in formatFirstToken()
1468 case FormatStyle::ELAAMS_Never: in formatFirstToken()
1471 case FormatStyle::ELAAMS_Leave: in formatFirstToken()
1474 case FormatStyle::ELAAMS_Always: in formatFirstToken()
1490 Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash && in formatFirstToken()