[PATCH] D42335: [ASTImporter] Supporting CXXOperatorCallExpr, SizeOfPackExpr, DependentTemplateSpecializationType, DependentSizedArray importing.

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 14:27:32 PST 2018


xazax.hun added a comment.

In https://reviews.llvm.org/D42335#983878, @a.sidorin wrote:

> Hello Peter,
>
> Thank you for the patch! It is almost LGTM, just a few minor questions inline.
>  Am I understand correctly that it is partially based on https://github.com/haoNoQ/clang/blob/summary-ipa-draft/lib/AST/ASTImporter.cpp?
>  Also, FYI: you can use ASTMerge and clang-import-test facilities for testing. ASTMatchers  are completely fine, but usage of imported AST samples as Sema lookup source can uncover some subtle issues in the built AST.


Yeah that is right. One reason I prefer matcher based tests because they tend to be more lightweight, but I think you are right, it is not a bad idea to utilize other tools as well.


https://reviews.llvm.org/D42335





More information about the cfe-commits mailing list