[clang-tools-extra] [clang-reorder-fields] Support designated initializers (PR #142150)

Clement Courbet via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 26 00:34:02 PDT 2025


================
@@ -81,18 +83,52 @@ getNewFieldsOrder(const RecordDecl *Definition,
   return NewFieldsOrder;
 }
 
+struct ReorderedStruct {
----------------
legrosbuffle wrote:

If you can pull out this refactoring (`ReorderedStruct` + `addRepacement`) to a separate commit that'd be great.

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


More information about the cfe-commits mailing list