[PATCH] D44100: [ASTImporter] Reorder fields after structure import is finished

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 06:17:32 PDT 2019


martong updated this revision to Diff 210813.
martong added a comment.

- Rebase to master
- Some refactor is done mostly because since D63603 <https://reviews.llvm.org/D63603> ([ASTImporter] Propagate

error from ImportDeclContext) we may not imported successfully all decls of a
DC.

- Made the code simpler and shorter by adding a local vector to hold the decls

of the "from" DC in the original order.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D44100/new/

https://reviews.llvm.org/D44100

Files:
  clang/lib/AST/ASTImporter.cpp
  clang/unittests/AST/ASTImporterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44100.210813.patch
Type: text/x-patch
Size: 4153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190719/5420fa27/attachment.bin>


More information about the cfe-commits mailing list