[PATCH] D62312: [ASTImporter] Added visibility context check for CXXRecordDecl.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 23 06:52:35 PDT 2019


balazske created this revision.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dkrupp.
Herald added a reviewer: martong.
Herald added a reviewer: a.sidorin.
Herald added a reviewer: shafik.
Herald added a project: clang.

ASTImporter makes now difference between classes with same name in different
translation units if these are not visible outside. These classes are not linked
into one decl chain.


Repository:
  rC Clang

https://reviews.llvm.org/D62312

Files:
  lib/AST/ASTImporter.cpp
  unittests/AST/ASTImporterVisibilityTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62312.200962.patch
Type: text/x-patch
Size: 4302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190523/bf04b742/attachment.bin>


More information about the cfe-commits mailing list