commit | 8951067a2bc35fb2a535bc18432cb2d02a762b73 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Wed Jul 11 22:50:15 2012 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Wed Jul 11 22:50:15 2012 +0000 |
tree | c2c68ef12f8fbbc5769acfa143961f48a59633a3 | |
parent | e3f470a718ec00eb8b546e405fa59bc2df2d7c46 [diff] |
Don't try to do RVO on block variables that refer to an enclosing local. Fixes PR13314, clang crashing on blocks refering to an enclosing local when the enclosing function returns void. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160089 91177308-0d34-0410-b5e6-96231b3b80d8