[all-commits] [llvm/llvm-project] 96ca19: [clang] simplify placeholder type deduction for co...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Sep 24 18:13:18 PDT 2025


  Branch: refs/heads/users/mizvekov/simplify-nttp-placeholder-deduction
  Home:   https://github.com/llvm/llvm-project
  Commit: 96ca19ae824a350ebc654e25a8f8356b088e3ea7
      https://github.com/llvm/llvm-project/commit/96ca19ae824a350ebc654e25a8f8356b088e3ea7
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-09-24 (Wed, 24 Sep 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaTemplate/temp_arg_template_p0522.cpp

  Log Message:
  -----------
  [clang] simplify placeholder type deduction for constant template parameters

This makes the deduction for dependent types operate in more similar ways
to the non-dependent one, such as when matching template template parameters,
making errors in those generate similar diagnostics to the non-dependent ones.
This also removes some superfluous implicit casts, simplifying the resulting
AST a little bit.



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