diff options
author | Florian Hahn <florian.hahn@arm.com> | 2018-05-30 21:00:18 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2018-05-30 21:00:18 +0000 |
commit | 75e87c3f2a6fe3c922023c2c07b7e6df1d8a5b56 (patch) | |
tree | 70040b7228a64a85ca2cf74d9bfce60574925abf /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 50603518a037ac98aad717b50e293dae9bfbe68f (diff) | |
download | bcm5719-llvm-75e87c3f2a6fe3c922023c2c07b7e6df1d8a5b56.tar.gz bcm5719-llvm-75e87c3f2a6fe3c922023c2c07b7e6df1d8a5b56.zip |
[TableGen] Avoid leaking TreePatternNodes by using shared_ptr.
By using std::shared_ptr for TreePatternNode, we can avoid leaking them.
Reviewers: craig.topper, dsanders, stoklund, tstellar, zturner
Reviewed By: dsanders
Differential Revision: https://reviews.llvm.org/D47463
llvm-svn: 333591
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions