Lines Matching refs:FormatStyle
40 LevelIndentTracker(const FormatStyle &Style, in LevelIndentTracker()
100 if (Style.Language == FormatStyle::LK_Java || in getIndentOffset()
101 Style.Language == FormatStyle::LK_JavaScript || Style.isCSharp()) in getIndentOffset()
129 const FormatStyle &Style;
173 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords, in LineJoiner()
268 Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All || in tryFitMultipleLinesInOne()
269 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
271 (Style.AllowShortFunctionsOnASingleLine & FormatStyle::SFS_InlineOnly && in tryFitMultipleLinesInOne()
317 return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never in tryFitMultipleLinesInOne()
329 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
341 FormatStyle::BWACS_Always) in tryFitMultipleLinesInOne()
347 FormatStyle::BWACS_MultiLine) { in tryFitMultipleLinesInOne()
415 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty && in tryFitMultipleLinesInOne()
436 FormatStyle::SIS_AllIfsAndElse))) { in tryFitMultipleLinesInOne()
477 FormatStyle::BWACS_Always && in tryMergeSimpleControlStatement()
479 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) in tryMergeSimpleControlStatement()
499 FormatStyle::SIS_WithoutElse) { in tryMergeSimpleControlStatement()
566 if (Style.Language != FormatStyle::LK_Java && in tryMergeSimpleBlock()
584 if (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) in tryMergeSimpleBlock()
596 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
607 FormatStyle::BWACS_Always && in tryMergeSimpleBlock()
680 FormatStyle::BWACS_MultiLine) in tryMergeSimpleBlock()
694 if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never || in tryMergeSimpleBlock()
751 const FormatStyle &Style;
782 const FormatStyle &Style, in LineFormatter()
831 if (Style.LambdaBodyIndentation == FormatStyle::LBI_OuterScope && in formatChildren()
886 const FormatStyle &Style;
895 const FormatStyle &Style, in NoColumnLimitLineFormatter()
922 WhitespaceManager *Whitespaces, const FormatStyle &Style, in NoLineBreakFormatter()
946 const FormatStyle &Style, in OptimizingLineFormatter()
1185 (Style.Language != FormatStyle::LK_JavaScript || in format()
1287 case FormatStyle::ELBAMS_Never: in formatFirstToken()
1291 case FormatStyle::ELBAMS_Leave: in formatFirstToken()
1294 case FormatStyle::ELBAMS_LogicalBlock: in formatFirstToken()
1300 case FormatStyle::ELBAMS_Always: { in formatFirstToken()
1319 case FormatStyle::ELAAMS_Never: in formatFirstToken()
1322 case FormatStyle::ELAAMS_Leave: in formatFirstToken()
1325 case FormatStyle::ELAAMS_Always: in formatFirstToken()
1339 if (Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash && in formatFirstToken()