commit | 48548e08ec52337db06b60a062f8c110b09c7d1b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Sep 18 15:10:22 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Fri Sep 20 09:58:42 2019 +0000 |
tree | 0cd776365cb809b4b252395386d205e52ee0a84f | |
parent | 0d1cee24a5929133640807e59ca13b37531ac43a [diff] |
ast_java: shared_ptr everywhere So that these things will be deleted so that we can turn on leak detection and so that checks in the destructor (like asserting that "CheckValid" is called) are actually meaningful. (note, this is more straightforward than simply rewriting this to not use ast_java at all due to things like outline methods) Bug: 37749857 Test: runtests.sh Test: less leaks reported Change-Id: Icc59069b9e3b660d0878bc338c86c30b80bb5e18