commit | 841db2c1e4a211d83a158138177d391f4f1ee565 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Fri Nov 28 20:35:57 2014 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Fri Nov 28 20:35:57 2014 +0000 |
tree | c9a6e55f8cdbf1f04c93ac04e1155246b2e25dcd | |
parent | da08412bd068ba21ad898f79ab1d05d1e9a9c14e [diff] |
Simplify ownership by using forward_list<T> rather than vector<unique_ptr<T>> Since the elements were not polymorphic, the unique_ptr was only used to avoid pointer invalidation on container resizes - might as well skip the indirection and use a container with suitable invalidation semantics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222931 91177308-0d34-0410-b5e6-96231b3b80d8