diff options
author | Saar Raz <saar@raz.email> | 2020-01-30 20:42:28 +0200 |
---|---|---|
committer | Saar Raz <saar@raz.email> | 2020-01-30 20:54:02 +0200 |
commit | a3609357f3888685f5d864d5708421b0993650b8 (patch) | |
tree | 1a12afc9b4d5b38b2136c926e6deda58d81394b7 /clang/lib/Sema/SemaExpr.cpp | |
parent | e5123472201e997773cf6f677ab16c34b2952b4f (diff) | |
download | bcm5719-llvm-a3609357f3888685f5d864d5708421b0993650b8.tar.gz bcm5719-llvm-a3609357f3888685f5d864d5708421b0993650b8.zip |
[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)
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions