diff options
author | John McCall <rjmccall@apple.com> | 2012-06-15 05:27:05 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-06-15 05:27:05 +0000 |
commit | d8d00be632593eae7495b50fa869b69ff793dce2 (patch) | |
tree | fcdbf89b8867075a5a24455dca23499bc0ed2202 /clang/test/CodeGen/merge-attrs.c | |
parent | e6799ddae83082a494f968cab205ef8754f82e64 (diff) | |
download | bcm5719-llvm-d8d00be632593eae7495b50fa869b69ff793dce2.tar.gz bcm5719-llvm-d8d00be632593eae7495b50fa869b69ff793dce2.zip |
It turns out that implementing the rethrow-on-fallthrough
semantics of a ctor/dtor function-try-block catch handler
by pushing a normal cleanup is not just overkill but actually
actively wrong when the handler contains an explicit return
(which is only legal in a dtor). Just emit the rethrow as
ordinary code at the fallthrough point. Fixes PR13102.
llvm-svn: 158488
Diffstat (limited to 'clang/test/CodeGen/merge-attrs.c')
0 files changed, 0 insertions, 0 deletions