[PATCH] D62484: [ASTImporter] Added visibility context check for EnumDecl.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 06:11:24 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 enums with same name in different translation
units if these are not visible outside.
("Scoped enums" are not handled yet.)


Repository:
  rC Clang

https://reviews.llvm.org/D62484

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62484.201519.patch
Type: text/x-patch
Size: 4385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190527/ccfdd7d4/attachment.bin>


More information about the cfe-commits mailing list