[all-commits] [llvm/llvm-project] d4741c: [ASTImporter] Added visibility check for scoped en...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Mon Feb 17 05:35:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d4741c44ab45a6ab9f32d773612f1bb79854f52f
      https://github.com/llvm/llvm-project/commit/d4741c44ab45a6ab9f32d773612f1bb79854f52f
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2020-02-17 (Mon, 17 Feb 2020)

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp
    M clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
    M clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
    M clang/unittests/AST/ASTImporterVisibilityTest.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list