[clang] [clang-format] fix aligning inheritance lists and binary operator operands with UT_AlignWithSpaces (PR #189218)

Eugene Shalygin via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 06:02:34 PDT 2026


================
@@ -8411,30 +8411,78 @@ TEST_F(FormatTest, BreakConstructorInitializersAfterColon) {
 
   // `ConstructorInitializerIndentWidth` actually applies to InheritanceList as
   // well
-  Style.BreakInheritanceList = FormatStyle::BILS_BeforeColon;
+  FormatStyle Tabbed = getLLVMStyle();
----------------
zeule wrote:

Moved to the end of the BreakConstructorInitializersAfterColon test.

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


More information about the cfe-commits mailing list