@@ -76,50 +76,39 @@ template <> struct MappingTraits<FormatStyle::AlignConsecutiveStyle> {
76
76
FormatStyle::AlignConsecutiveStyle (
77
77
{/* Enabled=*/ false , /* AcrossEmptyLines=*/ false ,
78
78
/* AcrossComments=*/ false , /* AlignCompound=*/ false ,
79
- /* AlignFunctionPointers=*/ false ,
80
- /* PadOperators=*/ true }));
79
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
81
80
IO.enumCase (Value, " Consecutive" ,
82
81
FormatStyle::AlignConsecutiveStyle (
83
82
{/* Enabled=*/ true , /* AcrossEmptyLines=*/ false ,
84
83
/* AcrossComments=*/ false , /* AlignCompound=*/ false ,
85
- /* AlignFunctionPointers=*/ false ,
86
- /* PadOperators=*/ true }));
84
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
87
85
IO.enumCase (Value, " AcrossEmptyLines" ,
88
86
FormatStyle::AlignConsecutiveStyle (
89
87
{/* Enabled=*/ true , /* AcrossEmptyLines=*/ true ,
90
88
/* AcrossComments=*/ false , /* AlignCompound=*/ false ,
91
- /* AlignFunctionPointers=*/ false ,
92
- /* PadOperators=*/ true }));
93
- IO.enumCase (
94
- Value, " AcrossComments" ,
95
- FormatStyle::AlignConsecutiveStyle ({/* Enabled=*/ true ,
96
- /* AcrossEmptyLines=*/ false ,
97
- /* AcrossComments=*/ true ,
98
- /* AlignCompound=*/ false ,
99
- /* AlignFunctionPointers=*/ false ,
100
- /* PadOperators=*/ true }));
101
- IO.enumCase (
102
- Value, " AcrossEmptyLinesAndComments" ,
103
- FormatStyle::AlignConsecutiveStyle ({/* Enabled=*/ true ,
104
- /* AcrossEmptyLines=*/ true ,
105
- /* AcrossComments=*/ true ,
106
- /* AlignCompound=*/ false ,
107
- /* AlignFunctionPointers=*/ false ,
108
- /* PadOperators=*/ true }));
89
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
90
+ IO.enumCase (Value, " AcrossComments" ,
91
+ FormatStyle::AlignConsecutiveStyle (
92
+ {/* Enabled=*/ true , /* AcrossEmptyLines=*/ false ,
93
+ /* AcrossComments=*/ true , /* AlignCompound=*/ false ,
94
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
95
+ IO.enumCase (Value, " AcrossEmptyLinesAndComments" ,
96
+ FormatStyle::AlignConsecutiveStyle (
97
+ {/* Enabled=*/ true , /* AcrossEmptyLines=*/ true ,
98
+ /* AcrossComments=*/ true , /* AlignCompound=*/ false ,
99
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
109
100
110
101
// For backward compatibility.
111
102
IO.enumCase (Value, " true" ,
112
103
FormatStyle::AlignConsecutiveStyle (
113
104
{/* Enabled=*/ true , /* AcrossEmptyLines=*/ false ,
114
105
/* AcrossComments=*/ false , /* AlignCompound=*/ false ,
115
- /* AlignFunctionPointers=*/ false ,
116
- /* PadOperators=*/ true }));
106
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
117
107
IO.enumCase (Value, " false" ,
118
108
FormatStyle::AlignConsecutiveStyle (
119
109
{/* Enabled=*/ false , /* AcrossEmptyLines=*/ false ,
120
110
/* AcrossComments=*/ false , /* AlignCompound=*/ false ,
121
- /* AlignFunctionPointers=*/ false ,
122
- /* PadOperators=*/ true }));
111
+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true }));
123
112
}
124
113
125
114
static void mapping (IO &IO, FormatStyle::AlignConsecutiveStyle &Value) {
0 commit comments