[all-commits] [llvm/llvm-project] 214f2d: [clang] Fix assertion crash in CTAD for alias temp...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Tue Apr 14 13:42:00 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 214f2de6b61919ca76f7cb7769cd98031de25431
https://github.com/llvm/llvm-project/commit/214f2de6b61919ca76f7cb7769cd98031de25431
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
Log Message:
-----------
[clang] Fix assertion crash in CTAD for alias templates with non-dependent type (#191885)
When building deduction guides, clang assumes that the return type of
the deduction guide would always be a dependent type
(`TemplateSpecializationType`), but this is not true for invalid case,
where the alias RHS is a non-dependent class template specialization, it
is represented as a `RecordType` instead.
Fixes #190517.
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