https://github.com/tJener closed
https://github.com/llvm/llvm-project/pull/150361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/150361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tJener updated
https://github.com/llvm/llvm-project/pull/150361
>From 2c1a695bd602b45f68bdc97043ff2b144372230b Mon Sep 17 00:00:00 2001
From: Eric Li
Date: Wed, 23 Jul 2025 22:18:05 -0400
Subject: [PATCH 1/2] [clang-format] Stop ctor initializer from being inlined
The colon
@@ -7771,6 +7771,37 @@ TEST_F(FormatTest, ConstructorInitializers) {
"Constructor() :\n"
"// Comment forcing unwanted break.\n"
"() {}");
+
+ // Braced initializers with trailing commas.
+ verifyFormat("MyClass::MyC
@@ -7771,6 +7771,37 @@ TEST_F(FormatTest, ConstructorInitializers) {
"Constructor() :\n"
"// Comment forcing unwanted break.\n"
"() {}");
+
+ // Braced initializers with trailing commas.
+ verifyFormat("MyClass::MyC
https://github.com/tJener edited
https://github.com/llvm/llvm-project/pull/150361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tJener edited
https://github.com/llvm/llvm-project/pull/150361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits