llvm-6502/lib/Target/X86/AsmParser
David Blaikie c50f986b4d 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210427 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-08 16:18:35 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
X86AsmInstrumentation.cpp AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand 2014-06-08 16:18:35 +00:00
X86AsmInstrumentation.h AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand 2014-06-08 16:18:35 +00:00
X86AsmParser.cpp AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand 2014-06-08 16:18:35 +00:00
X86AsmParserCommon.h
X86Operand.h AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand 2014-06-08 16:18:35 +00:00