diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-10 18:01:58 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-10 18:01:58 +0000 |
| commit | 457bfc779a8d47ac70265923fde4b0072a9c4bcc (patch) | |
| tree | a85f43f22f5361a7f3387945155a27a345f6289c /clang/lib/ARCMigrate/TransAutoreleasePool.cpp | |
| parent | 7553a4bca08767c2b80a8365f86ff36619815088 (diff) | |
| download | bcm5719-llvm-457bfc779a8d47ac70265923fde4b0072a9c4bcc.tar.gz bcm5719-llvm-457bfc779a8d47ac70265923fde4b0072a9c4bcc.zip | |
DebugInfo: Stop leaking temporaries in DIBuilder::createCompileUnit()
Stop leaking temporary nodes from `DIBuilder::createCompileUnit()`.
`replaceAllUsesWith()` doesn't delete the nodes, so we need to delete
them "manually" (well, `TempMDTuple` does that for us).
Similarly, stop leaking the temporary nodes used for variables of
subprograms.
llvm-svn: 234617
Diffstat (limited to 'clang/lib/ARCMigrate/TransAutoreleasePool.cpp')
0 files changed, 0 insertions, 0 deletions

