[clang] [ClangFormat] Fix formatting bugs. (PR #76245)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 19:57:17 PST 2024


================
@@ -255,6 +255,41 @@ TEST_F(FormatTestMacroExpansion,
                          Style);
 }
 
+TEST_F(FormatTestMacroExpansion, CommaAsOperator) {
+  FormatStyle Style = getGoogleStyle();
+  Style.ColumnLimit = 42;
----------------
owenca wrote:

```suggestion
  FormatStyle Style = getGoogleStyleWithColumns(42);
```

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


More information about the cfe-commits mailing list