[clang] [clang-format] Add BinPackBinaryOperations configuration (PR #95013)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 23:50:52 PDT 2024


================
@@ -27492,6 +27492,86 @@ TEST_F(FormatTest, SpaceBetweenKeywordAndLiteral) {
   verifyFormat("return sizeof \"5\";");
 }
 
+TEST_F(FormatTest, BinPackBinaryOperations) {
+  auto Style = getLLVMStyle();
+  Style.BinPackBinaryOperations = false;
----------------
mydeveloperday wrote:

can you test the default case

https://github.com/llvm/llvm-project/pull/95013


More information about the cfe-commits mailing list