[PATCH] D154764: [ASTImporter] Fields are imported first and reordered for correct layout.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 17 03:49:25 PDT 2023
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
More information about the cfe-commits
mailing list