[all-commits] [llvm/llvm-project] e29ac9: [Clang] Do not mark ambiguous specialization inval...

Corentin Jabot via All-commits all-commits at lists.llvm.org
Tue Jul 8 08:41:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e29ac9bc2e0ae8871dccea939554b39589cc07bd
      https://github.com/llvm/llvm-project/commit/e29ac9bc2e0ae8871dccea939554b39589cc07bd
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/test/SemaTemplate/partial-order.cpp

  Log Message:
  -----------
  [Clang] Do not mark ambiguous specialization invalid. (#147275)

When a specialization was ambiguous, we would mark it as invalid, even
if the specialization occured in an immediate context.

This would subsequently lead to scenarios where invalid specialization
produced no diagnostics, causing crashes during codegen.

Fixes #51866



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