]> granicus.if.org Git - clang/commit
[ASTImporter] Import described template (if any) of function.
authorBalazs Keri <1.int32@gmail.com>
Tue, 17 Jul 2018 09:52:41 +0000 (09:52 +0000)
committerBalazs Keri <1.int32@gmail.com>
Tue, 17 Jul 2018 09:52:41 +0000 (09:52 +0000)
commitd0d3baaed339a76574fdfecc2f756e568bf58f53
tree0facc173cf62109a4c22974b2a45d200754f7bfa
parent28deda3b5839098b427e528ad93bcfa434806a74
[ASTImporter] Import described template (if any) of function.

Summary:
When a function is imported, check if it has a described template.
The name lookup is corrected to find the templated entity in this case.
The described template of the function is imported too.

Reviewers: a.sidorin, a_sidorin

Reviewed By: a_sidorin

Subscribers: a_sidorin, martong, cfe-commits

Differential Revision: https://reviews.llvm.org/D49235

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337260 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp
unittests/AST/ASTImporterTest.cpp