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 | 2e6567ae605c6b070ace32e8ecc19a36127b04f7 (patch) | |
| tree | 8f1be61c7bd59bcd6641e453f092db80222a3c3c /clang/lib/Sema/SemaDeclObjC.cpp | |
| parent | 4f4946aaaa194da6d19250e924305cf0c3f61248 (diff) | |
| download | bcm5719-llvm-2e6567ae605c6b070ace32e8ecc19a36127b04f7.tar.gz bcm5719-llvm-2e6567ae605c6b070ace32e8ecc19a36127b04f7.zip | |
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.
llvm-svn: 102039
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
0 files changed, 0 insertions, 0 deletions

