HomePhabricator

[Concept] Fix incorrect check for containsUnexpandedParameterPack in CSE

Authored by saar.raz on Jan 30 2020, 10:42 AM.

Description

[Concept] Fix incorrect check for containsUnexpandedParameterPack in CSE

We previously checked for containsUnexpandedParameterPack in CSEs by observing the property
in the converted arguments of the CSE. This may not work if the argument is an expanded
type-alias that contains a pack-expansion (see added test).

Check the as-written arguments when determining containsUnexpandedParameterPack and isInstantiationDependent.

Details

Committed
saar.razJan 30 2020, 10:45 AM
Parents
rG34e6552dcbb4: [ConstantFold][SVE] Fix constant folding for scalable vector unary operations.
Branches
Unknown
Tags
Unknown