[all-commits] [llvm/llvm-project] 368318: [C++20] [Coroutines] Mark imported module as impor...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Dec 23 04:52:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 368318bcce66d9fef420fc34cca361b79d80cee5
      https://github.com/llvm/llvm-project/commit/368318bcce66d9fef420fc34cca361b79d80cee5
  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] [Coroutines] 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