[all-commits] [llvm/llvm-project] 7c7ed9: [clang] CTAD: fix transformation of template templ...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Thu May 14 06:47:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c7ed927171c82a1ea789c8264477bf0b54da69b
      https://github.com/llvm/llvm-project/commit/7c7ed927171c82a1ea789c8264477bf0b54da69b
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2026-05-14 (Thu, 14 May 2026)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] CTAD: fix transformation of template template parameters (#197611)

This fixes the CTAD template parameter transforms so they produce
template template parameters which have correct depth for their own
template parameters.

This also stops calling SubstDecl directly on the non-type template
parameters, so that a template parameter with correct position is
produced directly, instead of manually fixing that up later. This helps
#197598 by making it possible to add assertions that the positions are
always valid.



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