[all-commits] [llvm/llvm-project] 9ac292: [Clang] Fix the source location of default templat...

Younan Zhang via All-commits all-commits at lists.llvm.org
Sat Sep 13 03:03:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ac292441fcc4ebbaf4c7c36a9b2e2dd32580be0
      https://github.com/llvm/llvm-project/commit/9ac292441fcc4ebbaf4c7c36a9b2e2dd32580be0
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-09-13 (Sat, 13 Sep 2025)

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

  Log Message:
  -----------
  [Clang] Fix the source location of default template arguments in placeholder constraints (#158414)

We discovered this issue while working on the concept normalization
refactoring. We missed the source location when diagnosing the
instantiation point of the placeholder constraints, which is involved by
the substitution of default template arguments that happens before
constraint evaluation.

See the issue alive: https://godbolt.org/z/cWr9qP3E8



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