commit | 15aa8bae807c00bc8c9ce3dee562ce43c5c8b5ec | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Feb 17 23:10:13 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Feb 17 23:10:13 2015 +0000 |
tree | 84ceec60e48de07ddd7eddd5eedd5538f5f43389 | |
parent | 4bf44517c81d55917154117b16f714a0b5ad4e52 [diff] |
IR: Add missing clone() overloads Add missing specialized node overloads for `MDNode::clone()` (they were on most of the node types already, but missing from the others). `MDNode::clone()` returns `TempMDNode` (`std::unique_ptr<MDNode,...>`), while `TempMDSubrange::clone()` (for example) returns the more convenient `TempMDSubrange` (`std::unique_ptr<TempMDSubrange,...>`). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229579 91177308-0d34-0410-b5e6-96231b3b80d8