diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-27 22:09:22 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-27 22:09:22 +0000 |
commit | 702b2841a4d26f78ccdeb116fe2b9b9590684990 (patch) | |
tree | 1dfa6d8b941b2557ad048ee6b43b5b5edcaf42e5 /llvm/lib/Support/Threading.cpp | |
parent | 799ca897e76f0fdbbabcd6f15c5ebb8005571024 (diff) | |
download | llvm-702b2841a4d26f78ccdeb116fe2b9b9590684990.zip llvm-702b2841a4d26f78ccdeb116fe2b9b9590684990.tar.gz llvm-702b2841a4d26f78ccdeb116fe2b9b9590684990.tar.bz2 |
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.
llvm-svn: 145202
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions