[all-commits] [llvm/llvm-project] 9ef1b1: [clang] fix getReplacedTemplateParameter for parti...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Oct 10 18:15:32 PDT 2025


  Branch: refs/heads/users/mizvekov/GH161029-fix2
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ef1b19afd8d7bae3b1072f4db488699e56cd8ab
      https://github.com/llvm/llvm-project/commit/9ef1b19afd8d7bae3b1072f4db488699e56cd8ab
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-10-10 (Fri, 10 Oct 2025)

  Changed paths:
    M clang/lib/AST/DeclTemplate.cpp
    M clang/test/SemaTemplate/concepts.cpp
    M clang/test/SemaTemplate/partial-spec-instantiate.cpp

  Log Message:
  -----------
  [clang] fix getReplacedTemplateParameter for partial specialziations

The template argument returned should be relative to the partial specialization,
which would correspond to the partial template parameter list.

Unfortunately we don't save this anywhere in the AST, and would otherwise
need to deduce them again.

Simply avoid prodiding this argument for now, until we make it available.

This fixes regressions which were never released, so there are no release
notes.

Fixes #162770
Fixes #162855



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