@@ -302,41 +302,37 @@ TEST(ConfigParseTest, ParsesConfiguration) {
302302 Style.FIELD .Enabled = true ; \
303303 CHECK_PARSE (#FIELD " : None" , FIELD, \
304304 FormatStyle::AlignConsecutiveStyle ({})); \
305- CHECK_PARSE ( \
306- #FIELD " : Consecutive" , FIELD, \
307- FormatStyle::AlignConsecutiveStyle ( \
308- {/* Enabled=*/ true , /* AcrossEmptyLines=*/ false , \
309- /* AcrossComments=*/ false , /* AlignCompound=*/ false , \
310- /* AlignFunctionDeclarations=*/ true , \
311- /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
312- /* AlignBlockComments=*/ false })); \
313- CHECK_PARSE ( \
314- #FIELD " : AcrossEmptyLines" , FIELD, \
315- FormatStyle::AlignConsecutiveStyle ( \
316- {/* Enabled=*/ true , /* AcrossEmptyLines=*/ true , \
317- /* AcrossComments=*/ false , /* AlignCompound=*/ false , \
318- /* AlignFunctionDeclarations=*/ true , \
319- /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
320- /* AlignBlockComments=*/ false })); \
321- CHECK_PARSE ( \
322- #FIELD " : AcrossEmptyLinesAndComments" , FIELD, \
323- FormatStyle::AlignConsecutiveStyle ( \
324- {/* Enabled=*/ true , /* AcrossEmptyLines=*/ true , \
325- /* AcrossComments=*/ true , /* AlignCompound=*/ false , \
326- /* AlignFunctionDeclarations=*/ true , \
327- /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
328- /* AlignBlockComments=*/ false })); \
305+ CHECK_PARSE (#FIELD " : Consecutive" , FIELD, \
306+ FormatStyle::AlignConsecutiveStyle ( \
307+ {/* Enabled=*/ true , /* AcrossEmptyLines=*/ false , \
308+ /* AcrossComments=*/ false , /* AlignCompound=*/ false , \
309+ /* AlignFunctionDeclarations=*/ true , \
310+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
311+ /* AlignBlockComments=*/ false })); \
312+ CHECK_PARSE (#FIELD " : AcrossEmptyLines" , FIELD, \
313+ FormatStyle::AlignConsecutiveStyle ( \
314+ {/* Enabled=*/ true , /* AcrossEmptyLines=*/ true , \
315+ /* AcrossComments=*/ false , /* AlignCompound=*/ false , \
316+ /* AlignFunctionDeclarations=*/ true , \
317+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
318+ /* AlignBlockComments=*/ false })); \
319+ CHECK_PARSE (#FIELD " : AcrossEmptyLinesAndComments" , FIELD, \
320+ FormatStyle::AlignConsecutiveStyle ( \
321+ {/* Enabled=*/ true , /* AcrossEmptyLines=*/ true , \
322+ /* AcrossComments=*/ true , /* AlignCompound=*/ false , \
323+ /* AlignFunctionDeclarations=*/ true , \
324+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
325+ /* AlignBlockComments=*/ false })); \
329326 /* For backwards compability, false / true should still parse */ \
330327 CHECK_PARSE (#FIELD " : false" , FIELD, \
331328 FormatStyle::AlignConsecutiveStyle ({})); \
332- CHECK_PARSE ( \
333- #FIELD " : true" , FIELD, \
334- FormatStyle::AlignConsecutiveStyle ( \
335- {/* Enabled=*/ true , /* AcrossEmptyLines=*/ false , \
336- /* AcrossComments=*/ false , /* AlignCompound=*/ false , \
337- /* AlignFunctionDeclarations=*/ true , \
338- /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
339- /* AlignBlockComments=*/ false })); \
329+ CHECK_PARSE (#FIELD " : true" , FIELD, \
330+ FormatStyle::AlignConsecutiveStyle ( \
331+ {/* Enabled=*/ true , /* AcrossEmptyLines=*/ false , \
332+ /* AcrossComments=*/ false , /* AlignCompound=*/ false , \
333+ /* AlignFunctionDeclarations=*/ true , \
334+ /* AlignFunctionPointers=*/ false , /* PadOperators=*/ true , \
335+ /* AlignBlockComments=*/ false })); \
340336 \
341337 CHECK_PARSE_NESTED_BOOL (FIELD, Enabled); \
342338 CHECK_PARSE_NESTED_BOOL (FIELD, AcrossEmptyLines); \
0 commit comments