summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorSaar Raz <saar@raz.email>2020-01-30 20:42:28 +0200
committerSaar Raz <saar@raz.email>2020-01-30 20:54:02 +0200
commita3609357f3888685f5d864d5708421b0993650b8 (patch)
tree1a12afc9b4d5b38b2136c926e6deda58d81394b7 /clang/lib/Sema/SemaExpr.cpp
parente5123472201e997773cf6f677ab16c34b2952b4f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud