llvm-project/llvm/lib/MC/MCParser
David Blaikie 960ea3f018 AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand
I saw at least a memory leak or two from inspection (on probably
untested error paths) and r206991, which was the original inspiration
for this change.

I ran this idea by Jim Grosbach a few weeks ago & he was OK with it.
Since it's a basically mechanical patch that seemed sufficient - usual
post-commit review, revert, etc, as needed.

llvm-svn: 210427
2014-06-08 16:18:35 +00:00
..
AsmLexer.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
AsmParser.cpp AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand 2014-06-08 16:18:35 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFAsmParser.cpp Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
DarwinAsmParser.cpp raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
ELFAsmParser.cpp MC: make ELF .type handling more GNU AS compatible 2014-06-08 00:34:34 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
MCAsmLexer.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
MCAsmParser.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp [ms-inline asm] Add the isParsingInlineAsm() function to the MCAsmTargetParser. 2012-10-19 17:57:49 +00:00
Makefile