summaryrefslogtreecommitdiffstats
path: root/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-10 18:01:58 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-10 18:01:58 +0000
commit457bfc779a8d47ac70265923fde4b0072a9c4bcc (patch)
treea85f43f22f5361a7f3387945155a27a345f6289c /clang/lib/ARCMigrate/TransAutoreleasePool.cpp
parent7553a4bca08767c2b80a8365f86ff36619815088 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud