[PATCH] D137199: [clang] Template Specialization Resugaring - Template Type Alias

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 15:02:10 PDT 2022


mizvekov created this revision.
Herald added subscribers: jeroen.dobbelaere, ChuanqiXu.
Herald added a project: All.
mizvekov requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This implements resugaring of the pattern of template type aliases,
utilizing the resugaring transform implemented in D127695 <https://reviews.llvm.org/D127695>.

For more details and discussion see:
https://discourse.llvm.org/t/rfc-improving-diagnostics-with-template-specialization-resugaring/64294

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>

Depends on D127695 <https://reviews.llvm.org/D127695>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137199

Files:
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaCXXScopeSpec.cpp
  clang/lib/Sema/SemaCoroutine.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/lib/Sema/SemaTemplate.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/lib/Sema/TreeTransform.h
  clang/test/AST/ast-dump-template-decls.cpp
  clang/test/Sema/Resugar/resugar-types.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137199.472420.patch
Type: text/x-patch
Size: 10327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221101/78154d83/attachment-0001.bin>


More information about the cfe-commits mailing list