commit | 86811609d9353e3aed198045d56e790eb3b6118c | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Sun Nov 27 22:09:22 2011 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Sun Nov 27 22:09:22 2011 +0000 |
tree | 09aef0ba4fd83dd274b0e587f7a5a69e0a070354 | |
parent | 53ac3d88f9089affe6c5a93dc31d45a4a6f77447 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145202 91177308-0d34-0410-b5e6-96231b3b80d8