aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-12-11 05:25:30 +0000
committerCraig Topper <craig.topper@gmail.com>2014-12-11 05:25:30 +0000
commit7adf2bf76a10bc873ebf9d3a88209a44bd7ad799 (patch)
treebc90c8137ae97dd64d671991793db6be5e2204d9 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent611a3ef0bcc26f5008ba1a61f600e11866a1bb49 (diff)
downloadllvm-7adf2bf76a10bc873ebf9d3a88209a44bd7ad799.zip
llvm-7adf2bf76a10bc873ebf9d3a88209a44bd7ad799.tar.gz
llvm-7adf2bf76a10bc873ebf9d3a88209a44bd7ad799.tar.bz2
Replace std::map<K, V*> with std::map<K, std::unique_ptr<V>> to handle ownership and deletion of the values.
Ideally we would store the MultiClasses by value directly in the maps, but I had some trouble with that before and this at least fixes the leak. llvm-svn: 223997
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions