[cfe-commits] r145202 - in /cfe/trunk/lib/CodeGen: CGCleanup.cpp CGExpr.cpp CGExprAgg.cpp CGTemporaries.cpp CMakeLists.txt CodeGenFunction.h
John McCall
rjmccall at apple.com
Sun Nov 27 19:00:53 PST 2011
On Nov 27, 2011, at 2:09 PM, Peter Collingbourne wrote:
> Author: pcc
> Date: Sun Nov 27 16:09:22 2011
> New Revision: 145202
>
> URL: http://llvm.org/viewvc/llvm-project?rev=145202&view=rev
> Log:
> When destroying temporaries, instead of a custom cleanup use the
> generic pushDestroy function.
>
> This would reduce the number of useful declarations in
> CGTemporaries.cpp to one. Since CodeGenFunction::EmitCXXTemporary
> does not deserve its own file, move it to CGCleanup.cpp and delete
> CGTemporaries.cpp.
Looks good, thanks!
John.
More information about the cfe-commits
mailing list