[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);
+ Style.AlignConsecutiveDeclarations.Enabled = true;
+ Style.AlignConsecutiveDeclarations.AlignBlockComments = true;
+ Style.BinPackParameters = FormatStyle::BPPS_OnePerLine;
+ Style.BinPackArguments = false;
----------------
owenca wrote:
Delete. (See below.)
https://github.com/llvm/llvm-project/pull/109497
More information about the cfe-commits
mailing list