[clang] [Clang] Distinguish expanding-packs-in-place cases for SubstTemplateTypeParmTypes (PR #114220)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 5 10:08:00 PST 2024
================
@@ -4205,6 +4205,7 @@ SubstTemplateTypeParmType::SubstTemplateTypeParmType(
SubstTemplateTypeParmTypeBits.Index = Index;
SubstTemplateTypeParmTypeBits.PackIndex = PackIndex ? *PackIndex + 1 : 0;
+ SubstTemplateTypeParmTypeBits.ExpandPacksInPlace = ExpandPacksInPlace;
----------------
mizvekov wrote:
ExpandPacksInPlace should only ever be true if there is a PackIndex. Can we enforce that here, and other places which are relevant, like profiling?
https://github.com/llvm/llvm-project/pull/114220
More information about the cfe-commits
mailing list