[all-commits] [llvm/llvm-project] 4983fd: [C++20] [Modules] Handle reachability for deductio...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Jul 18 00:47:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4983fdfec0443cf388adb87b816b7298a7bdf273
      https://github.com/llvm/llvm-project/commit/4983fdfec0443cf388adb87b816b7298a7bdf273
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    A clang/test/Modules/deduction-guide.cppm
    A clang/test/Modules/deduction-guide2.cppm
    A clang/test/Modules/deduction-guide3.cppm

  Log Message:
  -----------
  [C++20] [Modules] Handle reachability for deduction guide

Previously, we forget to handle reachability for deduction guide.
The deduction guide is a hint to the compiler. And the deduction guide
should be able to use if the corresponding template decl is reachable.




More information about the All-commits mailing list