================
@@ -302,44 +302,44 @@ TEST(ConfigParseTest, ParsesConfiguration) {
     Style.FIELD.Enabled = true;                                                
\
     CHECK_PARSE(#FIELD ": None", FIELD,                                        
\
                 FormatStyle::AlignConsecutiveStyle({}));                       
\
-    CHECK_PARSE(                                                               
\
-        #FIELD ": Consecutive", FIELD,                                         
\
-        FormatStyle::AlignConsecutiveStyle(                                    
\
-            {/*Enabled=*/true, /*AcrossEmptyLines=*/false,                     
\
-             /*AcrossComments=*/false, /*AlignCompound=*/false,                
\
-             /*AlignFunctionDeclarations=*/true,                               
\
-             /*AlignFunctionPointers=*/false, /*PadOperators=*/true}));        
\
-    CHECK_PARSE(                                                               
\
-        #FIELD ": AcrossEmptyLines", FIELD,                                    
\
-        FormatStyle::AlignConsecutiveStyle(                                    
\
-            {/*Enabled=*/true, /*AcrossEmptyLines=*/true,                      
\
-             /*AcrossComments=*/false, /*AlignCompound=*/false,                
\
-             /*AlignFunctionDeclarations=*/true,                               
\
-             /*AlignFunctionPointers=*/false, /*PadOperators=*/true}));        
\
-    CHECK_PARSE(                                                               
\
-        #FIELD ": AcrossComments", FIELD,                                      
\
-        FormatStyle::AlignConsecutiveStyle(                                    
\
-            {/*Enabled=*/true, /*AcrossEmptyLines=*/false,                     
\
-             /*AcrossComments=*/true, /*AlignCompound=*/false,                 
\
-             /*AlignFunctionDeclarations=*/true,                               
\
-             /*AlignFunctionPointers=*/false, /*PadOperators=*/true}));        
\
-    CHECK_PARSE(                                                               
\
-        #FIELD ": AcrossEmptyLinesAndComments", FIELD,                         
\
-        FormatStyle::AlignConsecutiveStyle(                                    
\
-            {/*Enabled=*/true, /*AcrossEmptyLines=*/true,                      
\
-             /*AcrossComments=*/true, /*AlignCompound=*/false,                 
\
-             /*AlignFunctionDeclarations=*/true,                               
\
-             /*AlignFunctionPointers=*/false, /*PadOperators=*/true}));        
\
+    CHECK_PARSE(#FIELD ": Consecutive", FIELD,                                 
\
+                FormatStyle::AlignConsecutiveStyle(                            
\
+                    {/*Enabled=*/true, /*AcrossEmptyLines=*/false,             
\
+                     /*AcrossComments=*/false, /*AlignCompound=*/false,        
\
+                     /*AlignFunctionDeclarations=*/true,                       
\
+                     /*AlignFunctionPointers=*/false, /*PadOperators=*/true,   
\
+                     /*AlignBlockComments=*/false}));                          
\
+    CHECK_PARSE(#FIELD ": AcrossEmptyLines", FIELD,                            
\
+                FormatStyle::AlignConsecutiveStyle(                            
\
+                    {/*Enabled=*/true, /*AcrossEmptyLines=*/true,              
\
+                     /*AcrossComments=*/false, /*AlignCompound=*/false,        
\
+                     /*AlignFunctionDeclarations=*/true,                       
\
+                     /*AlignFunctionPointers=*/false, /*PadOperators=*/true,   
\
+                     /*AlignBlockComments=*/false}));                          
\
+    CHECK_PARSE(#FIELD ": AcrossComments", FIELD,                              
\
+                FormatStyle::AlignConsecutiveStyle(                            
\
+                    {/*Enabled=*/true, /*AcrossEmptyLines=*/false,             
\
+                     /*AcrossComments=*/true, /*AlignCompound=*/false,         
\
+                     /*AlignFunctionDeclarations=*/true,                       
\
+                     /*AlignFunctionPointers=*/false, /*PadOperators=*/true,   
\
+                     /*AlignBlockComments=*/false}));                          
\
+    CHECK_PARSE(#FIELD ": AcrossEmptyLinesAndComments", FIELD,                 
\
+                FormatStyle::AlignConsecutiveStyle(                            
\
+                    {/*Enabled=*/true, /*AcrossEmptyLines=*/true,              
\
+                     /*AcrossComments=*/true, /*AlignCompound=*/false,         
\
+                     /*AlignFunctionDeclarations=*/true,                       
\
+                     /*AlignFunctionPointers=*/false, /*PadOperators=*/true,   
\
+                     /*AlignBlockComments=*/false}));                          
\
----------------
owenca wrote:

Sort `Align...` and bin-pack argements.

https://github.com/llvm/llvm-project/pull/109497
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to