]> granicus.if.org Git - clang/commit
[ASTImporter] Added visibility context check for TypedefNameDecl.
authorBalazs Keri <1.int32@gmail.com>
Wed, 4 Sep 2019 14:12:18 +0000 (14:12 +0000)
committerBalazs Keri <1.int32@gmail.com>
Wed, 4 Sep 2019 14:12:18 +0000 (14:12 +0000)
commit4d178a6e93cda6c8ad640d4b52002c594ad4d69e
tree8e94bd9b0ddc3aa4507b07b3db1050a8067556db
parent5b56244be35fb5c7666bf4c06dfb5ba4a7dd7028
[ASTImporter] Added visibility context check for TypedefNameDecl.

Summary:
ASTImporter makes now difference between typedefs and type aliases
with same name in different translation units
if these are not visible outside.

Reviewers: martong, a.sidorin, shafik, a_sidorin

Reviewed By: martong, shafik

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

Tags: #clang

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

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