[PATCH] D128095: clang: fix checking parameter packs for expansion

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 17 17:47:24 PDT 2022


mizvekov created this revision.
Herald added a project: All.
mizvekov updated this revision to Diff 438073.
mizvekov retitled this revision from "clang: fix pack substitution scope in function params" to "clang: fix checking parameter packs for expansion.".
mizvekov edited the summary of this revision.
mizvekov added a comment.
Herald added a subscriber: kristof.beyls.
mizvekov retitled this revision from "clang: fix checking parameter packs for expansion." to "clang: fix checking parameter packs for expansion".
mizvekov published this revision for review.
mizvekov added reviewers: rsmith, v.g.vassilev.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

.


CollectUnexpandedParameterPacksVisitor and CheckParameterPacksForExpansion
should analyze SubstTemplateTypeParmPackType for unexpanded packs as
well.

Fixes PR56094.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128095

Files:
  clang/include/clang/Sema/Sema.h
  clang/include/clang/Sema/SemaInternal.h
  clang/lib/Sema/SemaTemplateDeduction.cpp
  clang/lib/Sema/SemaTemplateVariadic.cpp
  clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128095.438073.patch
Type: text/x-patch
Size: 12855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220618/559e5a94/attachment-0001.bin>


More information about the cfe-commits mailing list