diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-18 16:36:15 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-18 16:36:15 +0000 |
| commit | 98b539ae65afeda465ea14da246da4c03edbb9ca (patch) | |
| tree | 21f6540cb88dbac583100f2c5657da34b22efad2 /lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 7b4b26161160d93a0b1bd16962c66b5b626fa696 (diff) | |
| download | llvm-98b539ae65afeda465ea14da246da4c03edbb9ca.tar.gz llvm-98b539ae65afeda465ea14da246da4c03edbb9ca.tar.bz2 llvm-98b539ae65afeda465ea14da246da4c03edbb9ca.tar.xz | |
Make the copy member of StringRef/ArrayRef generic wrt allocators.
Doesn't make sense to restrict this to BumpPtrAllocator. While there
replace an explicit loop with std::equal. Some standard libraries know
how to compile this down to a ::memcmp call if possible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
