]> granicus.if.org Git - clang/commit
DebugInfo: Switch from replaceAllUsesWith() to replaceTemporary()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 11 Apr 2015 19:05:04 +0000 (19:05 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 11 Apr 2015 19:05:04 +0000 (19:05 +0000)
commitdc54701c1f092eb688feee78d50a0bfad557636c
tree22170898bda53d5d6cae9543fa8e3ab21bb8cb96
parent33fe0182f3623d0df6bb88a2fd83f48c6c561a6b
DebugInfo: Switch from replaceAllUsesWith() to replaceTemporary()

Stop using `DIDescriptor`'s wrapper around
`MDNode::replaceAllUsesWith()` (which is going away).  The new home for
this logic is `DIBuilder::replaceTemporary()`, added in LLVM r234695.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234696 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp