[all-commits] [llvm/llvm-project] 048d2c: [modules] Update visibility for merged ObjCInterfa...

Volodymyr Sapsai via All-commits all-commits at lists.llvm.org
Thu Oct 21 15:07:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 048d2c76efcddf4265987914e30d3d4f49395496
      https://github.com/llvm/llvm-project/commit/048d2c76efcddf4265987914e30d3d4f49395496
  Author: Volodymyr Sapsai <vsapsai at apple.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M clang/lib/Serialization/ASTReaderDecl.cpp
    A clang/test/Modules/merge-objc-interface-visibility.m

  Log Message:
  -----------
  [modules] Update visibility for merged ObjCInterfaceDecl definitions.

We keep using the first encountered definition and need to take into
account visibility from subsequent definitions. For example, if the
first definition is hidden and the second is visible, we need to make
the first one visible too.

rdar://82263843

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




More information about the All-commits mailing list