Lines Matching refs:Style

403     const FormatStyle &Style, F &&Matches,
490 unsigned StoppedAt = AlignTokens(Style, Matches, Changes, i, ACS);
521 unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter;
585 if (Style.AlignConsecutiveMacros == FormatStyle::ACS_None)
638 (Style.AlignConsecutiveMacros != FormatStyle::ACS_AcrossEmptyLines) &&
639 (Style.AlignConsecutiveMacros !=
646 !(LineIsComment && ((Style.AlignConsecutiveMacros ==
648 (Style.AlignConsecutiveMacros ==
676 unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter;
688 if (Style.AlignConsecutiveAssignments == FormatStyle::ACS_None)
692 Style,
704 Changes, /*StartAt=*/0, Style.AlignConsecutiveAssignments);
708 if (Style.AlignConsecutiveBitFields == FormatStyle::ACS_None)
712 Style,
724 Changes, /*StartAt=*/0, Style.AlignConsecutiveBitFields);
728 if (Style.AlignConsecutiveDeclarations == FormatStyle::ACS_None)
738 Style,
763 Changes, /*StartAt=*/0, Style.AlignConsecutiveDeclarations);
767 if (Style.BreakBeforeTernaryOperators) {
769 Style,
795 Style,
825 if (Style.ColumnLimit == 0)
827 else if (Style.ColumnLimit >= Changes[i].TokenLength)
828 ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength;
858 CommentColumn == NextColumn + Style.IndentWidth;
862 if (!Style.AlignTrailingComments || FollowsRBraceInColumn0) {
912 if (Style.AlignEscapedNewlines == FormatStyle::ENAS_DontAlign)
915 bool AlignLeft = Style.AlignEscapedNewlines == FormatStyle::ENAS_Left;
916 unsigned MaxEndOfLine = AlignLeft ? 0 : Style.ColumnLimit;
925 MaxEndOfLine = AlignLeft ? 0 : Style.ColumnLimit;
1013 switch (Style.UseTab) {
1018 if (Style.TabWidth) {
1020 Style.TabWidth - WhitespaceStartColumn % Style.TabWidth;
1031 Text.append(Spaces / Style.TabWidth, '\t');
1032 Text.append(Spaces % Style.TabWidth, ' ');
1040 unsigned Indentation = IndentLevel * Style.IndentWidth;
1053 IsAligned ? IndentLevel * Style.IndentWidth : Spaces;
1067 if (Style.TabWidth) {
1068 unsigned Tabs = Indentation / Style.TabWidth;
1070 Spaces -= Tabs * Style.TabWidth;