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()
167 const FormatStyle &Style;
214 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner()
315 if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All) in tryFitMultipleLinesInOne()
317 if (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
323 FormatStyle::SFS_InlineOnly) { in tryFitMultipleLinesInOne()
428 return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never in tryFitMultipleLinesInOne()
440 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
453 FormatStyle::BWACS_Always) in tryFitMultipleLinesInOne()
459 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
557 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
578 FormatStyle::SIS_AllIfsAndElse))) { in tryFitMultipleLinesInOne()
620 FormatStyle::BWACS_Always && in tryMergeSimpleControlStatement()
622 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) { in tryMergeSimpleControlStatement()
647 FormatStyle::SIS_WithoutElse) { in tryMergeSimpleControlStatement()
724 if (Style.Language != FormatStyle::LK_Java && in tryMergeSimpleBlock()
748 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never || in tryMergeSimpleBlock()
749 (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Empty && in tryMergeSimpleBlock()
769 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
784 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
861 FormatStyle::BWACS_MultiLine) { in tryMergeSimpleBlock()
876 if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never || in tryMergeSimpleBlock()
935 const FormatStyle &Style;
987 const FormatStyle &Style, in LineFormatter()
1084 const FormatStyle &Style;
1093 const FormatStyle &Style, in NoColumnLimitLineFormatter()
1120 WhitespaceManager *Whitespaces, const FormatStyle &Style, in NoLineBreakFormatter()
1144 const FormatStyle &Style, in OptimizingLineFormatter()
1455 const FormatStyle &Style) { in computeNewlines()
1488 case FormatStyle::ELBAMS_Never: in computeNewlines()
1492 case FormatStyle::ELBAMS_Leave: in computeNewlines()
1495 case FormatStyle::ELBAMS_LogicalBlock: in computeNewlines()
1501 case FormatStyle::ELBAMS_Always: { in computeNewlines()
1522 case FormatStyle::ELAAMS_Never: in computeNewlines()
1525 case FormatStyle::ELAAMS_Leave: in computeNewlines()
1528 case FormatStyle::ELAAMS_Always: in computeNewlines()
1569 Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash && in formatFirstToken()