author | Lang Hames <lhames@gmail.com> | |
Fri, 31 Oct 2014 21:37:49 +0000 (21:37 +0000) | ||
committer | Lang Hames <lhames@gmail.com> | |
Fri, 31 Oct 2014 21:37:49 +0000 (21:37 +0000) | ||
commit | 7b8ba815027ba92503e258d083949f05fec5cc8c | |
tree | 3ab736081eca5d6dc21e308e2a52adfac8341f27 | tree | snapshot (tar.xz tar.gz zip) |
parent | 7dd15e65fb20b2b515b5ef8d942974b404b7e876 | commit | diff |
[Object] Modify OwningBinary's interface to separate inspection from ownership.
The getBinary and getBuffer method now return ordinary pointers of appropriate
const-ness. Ownership is transferred by calling takeBinary(), which returns a
pair of the Binary and a MemoryBuffer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221003 91177308-0d34-0410-b5e6-96231b3b80d8
The getBinary and getBuffer method now return ordinary pointers of appropriate
const-ness. Ownership is transferred by calling takeBinary(), which returns a
pair of the Binary and a MemoryBuffer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221003 91177308-0d34-0410-b5e6-96231b3b80d8