[all-commits] [llvm/llvm-project] e55b19: [Clang] Fix template arguments collection for out-...

Younan Zhang via All-commits all-commits at lists.llvm.org
Tue Jul 8 04:01:23 PDT 2025


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

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaConcept.cpp
    M clang/test/SemaTemplate/concepts-out-of-line-def.cpp

  Log Message:
  -----------
  [Clang] Fix template arguments collection for out-of-line declarations (#147463)

We were using the lexical DC as the starting point of template argument
collection when comparing declarations. This caused an issue that
template arguments from out-of-line declarations are ignored when
substituting into the constraints, which in turn led to expression
mismatching.

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



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