llvm-6502/lib/AsmParser
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
..
CMakeLists.txt
LLLexer.cpp IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
LLLexer.h These classes only need a StringRef, not a MemoryBuffer. 2014-08-18 22:28:28 +00:00
LLParser.cpp Declare that musttail calls in variadic functions forward the ellipsis 2014-08-26 00:33:28 +00:00
LLParser.h Declare that musttail calls in variadic functions forward the ellipsis 2014-08-26 00:33:28 +00:00
LLToken.h IR: Implement uselistorder assembly directives 2014-08-19 21:30:15 +00:00
LLVMBuild.txt
Makefile
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
Parser.cpp Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00