balazske added a comment. If I see correctly this change does that the re-ordered members are imported before all other, specially fields come before functions. This way order of fields is already correct when a function is imported.
================ Comment at: clang/lib/AST/ASTImporter.cpp:1863 + continue; + } ExpectedDecl ImportedOrErr = import(From); ---------------- Braces are not required here (and at the other similar places). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154764/new/ https://reviews.llvm.org/D154764 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits