diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-11-17 22:16:55 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-11-17 22:16:55 +0000 |
commit | 8922a17af3fa0da165c0f49273c6fb7228163edd (patch) | |
tree | ba7d1b218af6f4b296b7386217969445d3b2252b /llvm/utils/TableGen/DFAPacketizerEmitter.cpp | |
parent | 6edef20405d2f6ac190d796b215d6d288e8dc125 (diff) | |
download | bcm5719-llvm-8922a17af3fa0da165c0f49273c6fb7228163edd.tar.gz bcm5719-llvm-8922a17af3fa0da165c0f49273c6fb7228163edd.zip |
Improve memory ownership/management in TableGen by unique_ptrifying TreePattern's Tree member.
The next step is to actually use unique_ptr in TreePatternNode's
Children vector. That will be more intrusive, and may not work,
depending on exactly how these things are handled (I have a bad
suspicion things are shared more than they should be, making this more
DAG than tree - but if it's really a tree, unique_ptr should suffice)
llvm-svn: 222183
Diffstat (limited to 'llvm/utils/TableGen/DFAPacketizerEmitter.cpp')
0 files changed, 0 insertions, 0 deletions