[all-commits] [llvm/llvm-project] 0b9528: [clang] CTAD: Track template template type paramet...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Tue Apr 2 06:19:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b9528d6bd0bfde5702b1ee5ed8a249d354434f1
https://github.com/llvm/llvm-project/commit/0b9528d6bd0bfde5702b1ee5ed8a249d354434f1
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
Log Message:
-----------
[clang] CTAD: Track template template type parameters that referenced in the template arguments of the RHS. (#85405)
Fixes https://github.com/llvm/llvm-project/issues/85385.
The Finder was missing for this case, for the crash test, the template
parameter TTP was incorrectly considered as not referenced/appeared in
the template arguments of the right hand side of the alias template
decl, thus the synthesized deduction decl doesn't contain this TTP in
the template parameter list, but we have references in the declaration,
thus it caused crashes.
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