summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-08 16:18:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-08 16:18:35 +0000
commitc50f986b4d8ecbf3437c67e987e26e268ef5f06a (patch)
tree595699717d2ecd1830d24da0ed463a78c5f16ccf /unittests
parente570687bd8bff68921a2fa9840ad5aa270a8c9d8 (diff)
downloadllvm-c50f986b4d8ecbf3437c67e987e26e268ef5f06a.tar.gz
llvm-c50f986b4d8ecbf3437c67e987e26e268ef5f06a.tar.bz2
llvm-c50f986b4d8ecbf3437c67e987e26e268ef5f06a.tar.xz
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
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions