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 | e677b8dab13649541633bd120c5264fd91154549 (patch) | |
| tree | 9296eb8522908204c15ebb1b63016f4399b39ee2 /llvm/lib/MC/MachObjectWriter.cpp | |
| parent | 675bf27ab70d6ea6dd3721b15bd576a920c03093 (diff) | |
| download | llvm-e677b8dab13649541633bd120c5264fd91154549.zip llvm-e677b8dab13649541633bd120c5264fd91154549.tar.gz llvm-e677b8dab13649541633bd120c5264fd91154549.tar.bz2 | |
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.
llvm-svn: 206615
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
