[all-commits] [llvm/llvm-project] 040e7a: [Clang] Consider default template arguments when s...

Younan Zhang via All-commits all-commits at lists.llvm.org
Sun Jul 13 23:45:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 040e7ad8281dcb52507070fbeec59421af78c5ca
      https://github.com/llvm/llvm-project/commit/040e7ad8281dcb52507070fbeec59421af78c5ca
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp

  Log Message:
  -----------
  [Clang] Consider default template arguments when synthesizing CTAD guides (#147675)

We copy arguments from different template parameter lists depending on
the deducibility of the template parameters. In particular, we may lose
the default template argument from the original alias declaration, and
this patch helps preserve that.

Fixes https://github.com/llvm/llvm-project/issues/133132



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list