Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy.
Once the objects are constructed, they own the buffer. Passing a unique_ptr makes that clear. llvm-svn: 211595
parent
e8b1f91a
Please register or sign in to comment
Once the objects are constructed, they own the buffer. Passing a unique_ptr makes that clear. llvm-svn: 211595