Remove BitcodeReader::setBufferOwned.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 18 Jun 2014 18:55:41 +0000 (18:55 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 18 Jun 2014 18:55:41 +0000 (18:55 +0000)
commitcc21bbde87de290fa09dc0468808594bab4203c7
tree2e820e73c74b51b99b5b6808291e1dc3dd466efa
parentec2d8233296fd6d8f37880cd750db1f7225f6b3a
Remove BitcodeReader::setBufferOwned.

We do have use cases for the bitcode reader owning the buffer or not, but we
always know which one we have when we construct it.

It might be possible to simplify this further, but this is a step in the
right direction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211205 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/ReaderWriter.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitcodeReader.h