Lines Matching refs:FormatStyle

46   LevelIndentTracker(const FormatStyle &Style,
65 if (Style.IndentPPDirectives != FormatStyle::PPDIS_None &&
67 (Style.IndentPPDirectives == FormatStyle::PPDIS_BeforeHash &&
115 if (Style.Language == FormatStyle::LK_Java || Style.isJavaScript() ||
167 const FormatStyle &Style;
214 LineJoiner(const FormatStyle &Style, const AdditionalKeywords &Keywords,
315 if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All)
317 if (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty &&
323 FormatStyle::SFS_InlineOnly) {
428 return Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never
440 FormatStyle::BWACS_MultiLine) {
453 FormatStyle::BWACS_Always)
459 FormatStyle::BWACS_MultiLine) {
557 (Style.AllowShortFunctionsOnASingleLine >= FormatStyle::SFS_Empty &&
578 FormatStyle::SIS_AllIfsAndElse))) {
620 FormatStyle::BWACS_Always &&
622 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never) {
647 FormatStyle::SIS_WithoutElse) {
724 if (Style.Language != FormatStyle::LK_Java &&
748 Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Never ||
749 (Style.AllowShortBlocksOnASingleLine == FormatStyle::SBS_Empty &&
769 FormatStyle::BWACS_Always &&
784 FormatStyle::BWACS_Always &&
861 FormatStyle::BWACS_MultiLine) {
876 if (Style.AllowShortBlocksOnASingleLine != FormatStyle::SBS_Never ||
935 const FormatStyle &Style;
987 const FormatStyle &Style,
1084 const FormatStyle &Style;
1093 const FormatStyle &Style,
1120 WhitespaceManager *Whitespaces, const FormatStyle &Style,
1144 const FormatStyle &Style,
1455 const FormatStyle &Style) {
1488 case FormatStyle::ELBAMS_Never:
1492 case FormatStyle::ELBAMS_Leave:
1495 case FormatStyle::ELBAMS_LogicalBlock:
1501 case FormatStyle::ELBAMS_Always: {
1522 case FormatStyle::ELAAMS_Never:
1525 case FormatStyle::ELAAMS_Leave:
1528 case FormatStyle::ELAAMS_Always:
1569 Style.IndentPPDirectives != FormatStyle::PPDIS_BeforeHash &&