[clang] [clang-format] Fix alignment in presence of template functions (PR #68029)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 2 23:42:44 PDT 2023


================
@@ -18525,12 +18525,17 @@ TEST_F(FormatTest, AlignConsecutiveAssignments) {
                "                     a_longer_name_for_wrap}};",
                Alignment);
 
-  Alignment.ColumnLimit = 60;
+  Alignment = getLLVMStyleWithColumns(60);
+  Alignment.AlignConsecutiveAssignments.Enabled = true;
----------------
owenca wrote:

Nvm.

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


More information about the cfe-commits mailing list