[clang] Add support for aligning BlockComments in declarations (PR #109497)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 21 00:39:52 PDT 2024


================
@@ -20029,6 +20029,52 @@ TEST_F(FormatTest, AlignConsecutiveDeclarations) {
                Alignment);
 }
 
+TEST_F(FormatTest, AlignConsecutiveDeclarationsBlockComments) {
+  FormatStyle Style = getLLVMStyleWithColumns(80);
----------------
owenca wrote:

```suggestion
  auto Style = getLLVMStyle();
```

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


More information about the cfe-commits mailing list