diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-06-08 16:18:35 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-06-08 16:18:35 +0000 |
commit | 960ea3f01831cd3f990e33e3658f58b12906917c (patch) | |
tree | 7d5e12e4ac471c7f92561d7450639375ff5e1254 /llvm/lib/MC/MCModuleYAML.cpp | |
parent | 789df06f876b5cc5ccd940ed76cb0b25f2fdb585 (diff) | |
download | bcm5719-llvm-960ea3f01831cd3f990e33e3658f58b12906917c.tar.gz bcm5719-llvm-960ea3f01831cd3f990e33e3658f58b12906917c.zip |
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
Diffstat (limited to 'llvm/lib/MC/MCModuleYAML.cpp')
0 files changed, 0 insertions, 0 deletions