diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-15 08:34:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-15 08:34:01 +0000 |
commit | 4a5129c700a76bf5c4b7f2aa9c362496fb6d8bd6 (patch) | |
tree | 848935b745ce02e104c63245a5a96c443fd5cab2 /lib/Analysis/DebugInfo.cpp | |
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
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions