summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSaar Raz <saar@raz.email>2020-02-03 15:44:33 +0200
committerSaar Raz <saar@raz.email>2020-02-03 16:53:14 +0200
commit1ac1c4b4850c1a507caa7da068f44a45ef4ba3c7 (patch)
treee854f23be39a895eec3de22d8dab2836b7f6fe53 /llvm/lib
parentc822edc11bf0583f0d4e0f6458ca60f57bc621ed (diff)
downloadbcm5719-llvm-1ac1c4b4850c1a507caa7da068f44a45ef4ba3c7.tar.gz
bcm5719-llvm-1ac1c4b4850c1a507caa7da068f44a45ef4ba3c7.zip
[Concepts] Instantiate invented template type parameter type-constraint along with function parameters
We previously instantiated type-constraints of template type parameters along with the type parameter itself, this caused problems when the type-constraints created by abbreviated templates refreneced other parameters in the abbreviated templates. When encountering a template type parameter with a type constraint, if it is implicit, delay instantiation of the type-constraint until the function parameter which created the invented template type parameter is instantiated. Reland after fixing bug caused by another flow reaching SubstParmVarDecl and instantiating the TypeConstraint a second time. (cherry picked from commit 84959ae47f447fca9d56a9c61e8c46e993d0387a)
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud