llvm-6502/include/llvm/Bitcode
Rafael Espindola 2292996e1a Pass a MemoryBufferRef when we can avoid taking ownership.
The attached patch simplifies a few interfaces that don't need to take
ownership of a buffer.

For example, both parseAssembly and parseBitcodeFile will parse the
entire buffer before returning. There is no need to take ownership.

Using a MemoryBufferRef makes it obvious in the type signature that
there is no ownership transfer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216488 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-26 21:49:01 +00:00
..
BitCodes.h
BitcodeWriterPass.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
BitstreamReader.h [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. 2014-04-15 06:32:26 +00:00
BitstreamWriter.h [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. 2014-04-15 06:32:26 +00:00
LLVMBitCodes.h Bitcode: Serialize (and recover) use-list order 2014-07-28 21:19:41 +00:00
ReaderWriter.h Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00