diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-27 19:23:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-28 08:12:15 +0200 |
commit | a5bb6eff8672f5a6e7ed1f885f69ca8434db6ce7 (patch) | |
tree | 97f5ad5248f70b4a348dcfb829e0a3ff368c7303 /solenv/bin | |
parent | 1f8723bf91bd48d432f1d2b930d0908ff28f44df (diff) |
Return unique_ptr from AstExpression::eval_* functions
...generally, idlc leaks most memory, and e.g. trying to turn
AstExpression::m_exprValue into a unique_ptr would fail because
AstExpression::eval_symbol returns a pointer to an object "owned" elsewhere (but
never actually deleted by its owner). So improvement of idlc ends here---for
one, it does not improve anything to try and make idlc not leak memory, and for
another, idlc is doomed to go away anyway.
Change-Id: I36f54130c8bfd1933126ae7f8a982e50d9bc616e
Diffstat (limited to 'solenv/bin')
0 files changed, 0 insertions, 0 deletions