llvm-project/llvm/lib/AsmParser
Rafael Espindola d96d553d76 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.

llvm-svn: 216488
2014-08-26 21:49:01 +00:00
..
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
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 LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
Parser.cpp Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00