]> granicus.if.org Git - clang/commit
Convert the exception-freeing cleanup over to the conditional cleanups code,
authorJohn McCall <rjmccall@apple.com>
Fri, 28 Jan 2011 08:37:24 +0000 (08:37 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 28 Jan 2011 08:37:24 +0000 (08:37 +0000)
commit3ad32c8d93eb65d1d4943d7df567fc9b4f55d137
treec70d2a10da7b400e2f6f02a32d9d0a59b9f8f8a6
parent4867347e82648d3baf09524b98b09c297a5a198f
Convert the exception-freeing cleanup over to the conditional cleanups code,
fixing a crash which probably nobody was ever going to see.  In doing so,
fix a horrendous number of problems with the conditional-cleanups code.
Also, make conditional cleanups re-use the cleanup's activation variable,
which avoids some unfortunate repetitiveness.

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