]> granicus.if.org Git - clang/commit
Don't assert/crash on reference variables in lambdas bound to a
authorEli Friedman <eli.friedman@gmail.com>
Thu, 3 Jan 2013 00:39:26 +0000 (00:39 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 3 Jan 2013 00:39:26 +0000 (00:39 +0000)
commit89e19b43b81a6b5d092a81d2ebf6ec9a4097a48d
treed3a7e2f82413cd9e7535464b531db599618b8bc6
parent344c77aac25e5d960aced3f45fbaa09853383f6d
Don't assert/crash on reference variables in lambdas bound to a
static local variable from the parent scope.  PR14773.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171433 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/lambda-expressions.cpp