[all-commits] [llvm/llvm-project] f8d631: [Clang] Fix a pack expansion bug in template argum...

Younan Zhang via All-commits all-commits at lists.llvm.org
Tue May 27 00:10:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8d63168b6b9928ffed6b068fb35fa26a70f996d
      https://github.com/llvm/llvm-project/commit/f8d63168b6b9928ffed6b068fb35fa26a70f996d
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp

  Log Message:
  -----------
  [Clang] Fix a pack expansion bug in template argument deduction (#141547)

I think the intent of df18ee96206 was to substitute only those non-packs
into a pack expansion type (e.g. `T` in `T::pack...`), so let's hold off
pack expansions explicitly, in case there are calls coming from a
substitution of pack expansion.

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



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