[Clang][ASTImporter] Added visibility check for FunctionTemplateDecl.
authorBalazs Keri <1.int32@gmail.com>
Fri, 13 Sep 2019 08:03:49 +0000 (08:03 +0000)
committerBalazs Keri <1.int32@gmail.com>
Fri, 13 Sep 2019 08:03:49 +0000 (08:03 +0000)
commitf8a89c8fa7fe89632530ba86983127133686afe4
treec784efdacd5658dabe421d04c984d0723e7f1019
parentcde8343d85721e5bc4c25d8843efcac61238407b
[Clang][ASTImporter] Added visibility check for FunctionTemplateDecl.

Summary:
ASTImporter makes now difference between function templates with same
name in different translation units if these are not visible outside.

Reviewers: martong, a.sidorin, shafik, a_sidorin

Reviewed By: a_sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

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

llvm-svn: 371820
clang/lib/AST/ASTImporter.cpp
clang/unittests/AST/ASTImporterVisibilityTest.cpp