commit | 1aeb40080d3c44664d50d92e96ff80d5cc7cbe2e | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Tue Oct 17 19:12:23 2017 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Tue Oct 17 19:12:23 2017 +0000 |
tree | 50617aa0c1caaca7bb14261aaa637f9cf0da4625 | |
parent | 9fdd86763e5d6d66243e098a8e2c01052867c5c9 [diff] |
Refactor std::list node allocation logic. The logic to allocate a node within std::list was repeated in a bunch of places. This is unneeded. This patch refactors the shared logic into a single function to reduce duplication. This patch is part of a set to clean up node construction in general, but refactoring construction requires some more work to make it work cleanly in C++03 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@316021 91177308-0d34-0410-b5e6-96231b3b80d8