[all-commits] [llvm/llvm-project] 86b001: [C++20] [Modules] Mark imported module as imported...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Dec 23 05:14:38 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86b001a94172ac625f17f381c971dad3b9367278
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M clang/lib/Sema/SemaModule.cpp
    M clang/test/Modules/module-transtive-instantiation.cpp

  Log Message:
  [C++20] [Modules] Mark imported module as imported if not exported

In C++20 Modules, imported module which doesn't get exported wouldn't be
recorded. This patch would record such modules to avoid possible
incorrect visibility problems.

Reviewed By: urnathan

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

More information about the All-commits mailing list