The visit callback implementations for the 3 C++ AST Node added to the ASTImporter.
Note: Based on: https://github.com/haoNoQ/clang/blob/summary-ipa-draft/lib/AST/ASTImporter.cpp
Differential D38845
[ASTImporter] Support importing UnresolvedMemberExpr, DependentNameType, DependentScopeDeclRefExpr szepet on Oct 12 2017, 6:13 AM. Authored by
Details
The visit callback implementations for the 3 C++ AST Node added to the ASTImporter. Note: Based on: https://github.com/haoNoQ/clang/blob/summary-ipa-draft/lib/AST/ASTImporter.cpp
Diff Detail
Event Timeline
Comment Actions Hello Peter, Looks mostly good, but there are some minor comments.
Comment Actions Updated based on review comments. Hello Aleksei, Comment Actions Hello Peter, This looks good to me. But could you please check if test works if we add -fms-compatibility and -fdelayed-template-parsing to Args?
Comment Actions Hello Peter. Please set the dependencies for the patch - it cannot be applied clearly and even if I add ImportTemplateArgumentListInfo, tests still fail - looks like FunctionTemplateDecl patch should be applied first. Comment Actions Hi Peter, Comment Actions Hello Aleksei, Thanks for carrying the ASTImporter improvements (in general)! I will rebase it and upload for sure, but probably just next week. (After EuroLLVM.) Comment Actions Rewritten the tests using the newly added TEST_P method.
Comment Actions LGTM!
|
According to phabricator this code is very similar to a snippet starting from line 4524 and some code bellow. Maybe it would be worth to have a function instead of duplicating?