]> granicus.if.org Git - clang/commit
More refactoring around constructor/destructor code generation.
authorJohn McCall <rjmccall@apple.com>
Fri, 19 Feb 2010 09:25:03 +0000 (09:25 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 19 Feb 2010 09:25:03 +0000 (09:25 +0000)
commit9fc6a7774643a810c8501dae2323e863fefb623e
tree5e1022305d460e971bfeca65e95cbf15597c9808
parent8c0b9646f54499ee88a3b3df308a2bfbaafac345
More refactoring around constructor/destructor code generation.
Fix some bugs with function-try-blocks and simplify normal try-block
code generation.

This implementation excludes a deleting destructor's call to
operator delete() from the function-try-block, which I believe
is correct but which I can't find straightforward support for at
a moment's glance.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96670 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/destructors.cpp