[clang-tools-extra] [clang-reorder-fields] Support designated initializers (PR #142150)
Clement Courbet via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 21 04:03:37 PDT 2025
================
@@ -81,18 +83,52 @@ getNewFieldsOrder(const RecordDecl *Definition,
return NewFieldsOrder;
}
+struct ReorderedStruct {
----------------
legrosbuffle wrote:
> Should I move addReplacement changes there?
Your choice, the idea is mostly to separate the logical and the refactoring changes to make review easier, we can squash before merge.
https://github.com/llvm/llvm-project/pull/142150
More information about the cfe-commits
mailing list