1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
llvm-mirror/lib/AsmParser
Rafael Espindola 225cf75bef 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
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