diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-07-11 22:50:15 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-07-11 22:50:15 +0000 |
commit | 8951067a2bc35fb2a535bc18432cb2d02a762b73 (patch) | |
tree | c2c68ef12f8fbbc5769acfa143961f48a59633a3 /lib/Driver/Tools.cpp | |
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
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions