[PATCH] D133874: WIP: [clang] Implement sugar retention for converted template arguments

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 14 09:43:17 PDT 2022


mizvekov created this revision.
Herald added subscribers: libcxx-commits, cfe-commits, kbarton, nemanjai.
Herald added projects: clang, libc++, All.
Herald added a reviewer: libc++.
mizvekov requested review of this revision.

This is pretty much work in progress.

Makes CheckTemplateArgumentList produce a sugared converted argument
list in addition to the canonical one.

Will probably implement some further uses of this functionality
in this patch.

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

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133874

Files:
  clang/include/clang/Sema/Sema.h
  clang/include/clang/Sema/TemplateDeduction.h
  clang/lib/Sema/SemaLookup.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/lib/Sema/SemaTemplate.cpp
  clang/lib/Sema/SemaTemplateDeduction.cpp
  clang/lib/Sema/SemaTemplateInstantiate.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/SemaCXX/ppc-pair-mma-types.cpp
  clang/test/SemaTemplate/make_integer_seq.cpp
  libcxx/DELETE.ME

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133874.460137.patch
Type: text/x-patch
Size: 108202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220914/e7aee0b6/attachment-0001.bin>


More information about the cfe-commits mailing list