[ASTImporter] Added visibility check for variable templates.
authorBalázs Kéri <1.int32@gmail.com>
Mon, 9 Mar 2020 10:01:48 +0000 (11:01 +0100)
committerBalázs Kéri <1.int32@gmail.com>
Mon, 9 Mar 2020 10:57:55 +0000 (11:57 +0100)
commit8d67bcf93c1ecb65d30f5e9b56b4f0c493bde1c3
tree2c1db5b7882acba67af7bba503b796009485cef8
parentf35d112efdb33abee853aeab8a5ed4a4743e204d
[ASTImporter] Added visibility check for variable templates.

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

Reviewers: a.sidorin, shafik, a_sidorin

Reviewed By: a_sidorin

Subscribers: dkrupp, Szelethus, gamesh411, teemperor, martong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75732
clang/lib/AST/ASTImporter.cpp
clang/unittests/AST/ASTImporterVisibilityTest.cpp