[clang] [clang-format] Allow array alignment on non-rectangular arrays (PR #143781)

Ben Dunkin via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 11 11:22:36 PDT 2025


================
@@ -1318,281 +1343,253 @@ void WhitespaceManager::alignArrayInitializers(unsigned Start, unsigned End) {
 
 void WhitespaceManager::alignArrayInitializersRightJustified(
----------------
bdunkin wrote:

This function, and the left justified version, are full rewrites. Comparing to the previous implementation may not be useful.

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


More information about the cfe-commits mailing list