summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/version.pass.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-04-28 23:50:12 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-04-28 23:50:12 +0000
commitb87faffdb9bc86c4c08224bdbaa37096edcfda4d (patch)
tree453120acc476efff63e5f9e3a717c38e730ab1b5 /libcxx/test/std/utilities/function.objects/version.pass.cpp
parent1573b242aeef45124c68a22a995fbc4bff2cc868 (diff)
downloadbcm5719-llvm-b87faffdb9bc86c4c08224bdbaa37096edcfda4d.tar.gz
bcm5719-llvm-b87faffdb9bc86c4c08224bdbaa37096edcfda4d.zip
[Sema] Fix a crash that occurs when a variable template is initialized
with a generic lambda. This patch fixes Sema::InstantiateVariableInitializer to switch to the context of the variable before instantiating its initializer, which is necessary to set the correct type for VarTemplateSpecializationDecl. This is the first part of the patch that was reviewed here: http://reviews.llvm.org/D19175 rdar://problem/23440346 llvm-svn: 267956
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/version.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud