commit | b09ab8c293833c3dbcbf78f0db5e01fec46966bf | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Feb 21 20:05:31 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Feb 21 20:05:31 2012 +0000 |
tree | 268aef552d4e96e3bebc380965a452970f45d60d | |
parent | e38fa1866e684b99c6c6e359449af9e0b6e83164 [diff] |
Only pop the expression evaluation context corresponding to a lambda expression after we've finished the function body of the corresponding function call operator. Otherwise, ActOnFinishFunctionBody() will see the (unfinished) evaluation context of the lambda expression itself. Fixes PR12031. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151082 91177308-0d34-0410-b5e6-96231b3b80d8