commit | 4a5129c700a76bf5c4b7f2aa9c362496fb6d8bd6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Dec 15 08:34:01 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Dec 15 08:34:01 2009 +0000 |
tree | 848935b745ce02e104c63245a5a96c443fd5cab2 | |
parent | 10aaf05c304e259dbb853a37d491fdc4ea54c9b1 [diff] |
a few improvements: 1. Use std::equal instead of reinventing it. 2. don't run dtors in destroy_range if element is pod-like. 3. Use isPodLike to decide between memcpy/uninitialized_copy instead of is_class. isPodLike is more generous in some cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91427 91177308-0d34-0410-b5e6-96231b3b80d8