[all-commits] [llvm/llvm-project] c5cb11: [Modules] Handle the visibility of GMF during the ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Sun Feb 19 22:21:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5cb1117e19273a26499a1e18770b74bdf3b9ade
      https://github.com/llvm/llvm-project/commit/c5cb1117e19273a26499a1e18770b74bdf3b9ade
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    A clang/test/Modules/pr60775.cppm

  Log Message:
  -----------
  [Modules] Handle the visibility of GMF during the template instantiation

Close https://github.com/llvm/llvm-project/issues/60775

Previously, we will mark all the declarations in the GMF as not visible
to other module units. But this is too strict and the users may meet
problems during the template instantiation like the above exampel shows.
The patch addresseds the problem.




More information about the All-commits mailing list