diff options
| author | John McCall <rjmccall@apple.com> | 2010-04-22 01:10:34 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-04-22 01:10:34 +0000 |
| commit | ac418162692a951ca3796d6830496a85a2d12493 (patch) | |
| tree | 30b82e9e54c382ecd6fb56eaf7286244ede9abc7 /lib/CodeGen/CodeGenModule.cpp | |
| parent | a41a8c5972c2632247ae7913cf6ce65d45f7e702 (diff) | |
| download | clang-ac418162692a951ca3796d6830496a85a2d12493.tar.gz clang-ac418162692a951ca3796d6830496a85a2d12493.tar.bz2 clang-ac418162692a951ca3796d6830496a85a2d12493.tar.xz | |
Call PerformCopyInitialization to properly initialize the exception temporary
in a throw expression. Use EmitAnyExprToMem to emit the throw expression,
which magically elides the final copy-constructor call (which raises a new
strict-compliance bug, but baby steps). Give __cxa_throw a destructor pointer
if the exception type has a non-trivial destructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
