[all-commits] [llvm/llvm-project] 1b5980: [C++20] [Modules] Don't create duplicated deductio...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Mar 28 02:52:08 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b5980997bc03659a41329c3dff96ff274e13d85
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M clang/docs/StandardCPlusPlusModules.rst
    M clang/lib/Sema/SemaTemplate.cpp
    A clang/test/Modules/pr56916.cppm
    M clang/test/Modules/pr61317.cppm

  Log Message:
  [C++20] [Modules] Don't create duplicated deduction guides for duplicated classes

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

Within C++20 modules, we may have multiple same constructors in
multiple same RecordDecls. And it doesn't make sense naturally to create
duplicated deduction guides for the duplicated constructors.

More information about the All-commits mailing list