Skip to content
Commit a8182f9b authored by Douglas Gregor's avatar Douglas Gregor
Browse files

Clean up r156925, so that we only mark the capturing DeclRefExpr of a

lambda as referring to a local in an enclosing scope if we're in the
enclosing scope of the lambda (not it's function call operator). Also,
turn the test into an IR generation test, since that's where the
crashes occurred. Really fixes PR12746 / <rdar://problem/11465120>.

llvm-svn: 156926
parent 26b51746
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment