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.

(cherry picked from commit c83d9bedc0cc430dc620e7a807daeb985d390325)

Details

Committed
saar.razJan 30 2020, 10:54 AM
Parents
rGe5123472201e: Generate docs
Branches
Unknown
Tags
Unknown