When substituting alias templates, we stop bumping up template
parameters below current substitution level.
Fixes PR55886.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Paths
| Differential D127351
clang: fix early substitution of alias templates Needs ReviewPublic Authored by mizvekov on Jun 8 2022, 3:02 PM.
Details
Summary When substituting alias templates, we stop bumping up template Fixes PR55886. Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Diff Detail
Event TimelineComment Actions @rsmith , I have marked the few spots where the change is meaningful.
Comment Actions
mizvekov edited parent revisions, added: D128113: Clang: fix AST representation of expanded template arguments.; removed: D127361: [NFC] clang: add test for PR55886.Jun 22 2022, 7:33 PM mizvekov added a child revision: D128095: [clang] Improve diagnostics for expansion length mismatch.Jun 22 2022, 7:50 PM mizvekov removed a child revision: D127690: [NFC] clang/Parser: remove dead code.Jun 22 2022, 7:59 PM mizvekov removed a parent revision: D128113: Clang: fix AST representation of expanded template arguments..Jul 17 2022, 6:31 PM mizvekov removed a child revision: D128095: [clang] Improve diagnostics for expansion length mismatch.
Revision Contents
Diff 435356 clang/include/clang/Sema/Sema.h
clang/include/clang/Sema/Template.h
clang/lib/Sema/SemaAccess.cpp
clang/lib/Sema/SemaCXXScopeSpec.cpp
clang/lib/Sema/SemaConcept.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/lib/Sema/SemaTemplateInstantiate.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Sema/SemaType.cpp
clang/utils/TableGen/ClangAttrEmitter.cpp
|
mark