Lines Matching refs:FormatStyle
46 LevelIndentTracker(const FormatStyle &Style, in LevelIndentTracker()
65 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None && in nextLine()
67 (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash && in nextLine()
115 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() || in getIndentOffset()
166 const FormatStyle &Style;
213 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner()
314 if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All) in tryFitMultipleLinesInOne()
316 if (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
322 FormatStyle::SFS_InlineOnly) { in tryFitMultipleLinesInOne()
427 return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never in tryFitMultipleLinesInOne()
439 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
452 FormatStyle::BWACS_Always) in tryFitMultipleLinesInOne()
458 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
562 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
583 FormatStyle::SIS_AllIfsAndElse))) { in tryFitMultipleLinesInOne()
625 FormatStyle::BWACS_Always && in tryMergeSimpleControlStatement()
627 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) { in tryMergeSimpleControlStatement()
652 FormatStyle::SIS_WithoutElse) { in tryMergeSimpleControlStatement()
729 if (Style.Language != FormatStyle::LK_Java && in tryMergeSimpleBlock()
753 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never || in tryMergeSimpleBlock()
754 (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Empty && in tryMergeSimpleBlock()
774 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
789 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
805 if (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never && in tryMergeSimpleBlock()
870 FormatStyle::BWACS_MultiLine) { in tryMergeSimpleBlock()
885 if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never || in tryMergeSimpleBlock()
944 const FormatStyle &Style;
996 const FormatStyle &Style, in LineFormatter()
1093 const FormatStyle &Style;
1102 const FormatStyle &Style, in NoColumnLimitLineFormatter()
1129 WhitespaceManager *Whitespaces, const FormatStyle &Style, in NoLineBreakFormatter()
1153 const FormatStyle &Style, in OptimizingLineFormatter()
1464 const FormatStyle &Style) { in computeNewlines()
1499 case FormatStyle::ELBAMS_Never: in computeNewlines()
1503 case FormatStyle::ELBAMS_Leave: in computeNewlines()
1506 case FormatStyle::ELBAMS_LogicalBlock: in computeNewlines()
1512 case FormatStyle::ELBAMS_Always: { in computeNewlines()
1533 case FormatStyle::ELAAMS_Never: in computeNewlines()
1536 case FormatStyle::ELAAMS_Leave: in computeNewlines()
1539 case FormatStyle::ELAAMS_Always: in computeNewlines()
1580 Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash && in formatFirstToken()