HomePhabricator

[ASTImporter] Added visibility check for scoped enums.

Authored by balazske on Feb 17 2020, 5:25 AM.

Description

[ASTImporter] Added visibility check for scoped enums.

Summary:
ASTImporter makes now difference between C++11 scoped enums with same
name in different translation units if these are not visible outside.
Enum declarations are linked into decl chain correctly.

Reviewers: martong, a.sidorin, shafik, a_sidorin, teemperor

Reviewed By: shafik, a_sidorin

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

Tags: #clang

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

Details

Committed
balazskeFeb 17 2020, 5:34 AM
Reviewer
shafik
Differential Revision
D74554: [ASTImporter] Added visibility check for scoped enums.
Parents
rGb2d64b698f87: [lldb] Fix build error from 07355c1c08b
Branches
Unknown
Tags
Unknown