[PATCH] D59485: [ASTImporter] Allow adding a import strategy to the ASTImporter

Raphael Isemann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 19 01:13:15 PDT 2019


teemperor updated this revision to Diff 191257.
teemperor retitled this revision from "[ASTImporter] Allow adding a shim to the ASTImporter" to "[ASTImporter] Allow adding a import strategy to the ASTImporter".
teemperor edited the summary of this revision.
teemperor added a comment.

Thanks for the quick review! I changed the code to also update the internal ASTImporter state like with a normal decl.

Changes:

- Renamed from Shim -> Strategy
- Now using the ImportedDecls map and also updating the internal ASTImporter state.


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

https://reviews.llvm.org/D59485

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59485.191257.patch
Type: text/x-patch
Size: 8724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190319/199e2762/attachment-0001.bin>


More information about the cfe-commits mailing list