commit | f54486acc1cadf2791c3916ece66fded1e57ba0b | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Apr 04 17:40:10 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Apr 04 17:40:10 2012 +0000 |
tree | 50d408c6476749d089f753d8694cdf09a0c6eefe | |
parent | 8e86b2d03e6e58ef9a58d1d3ad70726ae7a3b4fd [diff] |
Move the computation of the lambda mangling information (mangling number + context) to the point where we initially start defining the lambda, so that the linkage won't change when that information is made available. Fixes the assertion in <rdar://problem/11182962>. Plus, actually mangle the context of lambdas properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154029 91177308-0d34-0410-b5e6-96231b3b80d8