diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-02-05 22:22:56 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-02-05 22:22:56 +0000 |
commit | 8147752976bda4499863c3db9feee760cf0b9015 (patch) | |
tree | 03f0b01caeb12b4eebfcd8bfe91862403d0f0e15 /test | |
parent | 1a10a514313c5b602361bb8ac4b8980675929f0b (diff) | |
download | llvm-8147752976bda4499863c3db9feee760cf0b9015.tar.gz llvm-8147752976bda4499863c3db9feee760cf0b9015.tar.bz2 llvm-8147752976bda4499863c3db9feee760cf0b9015.tar.xz |
Fix layering StringRef copy using BumpPtrAllocator.
Now to copy a string into a BumpPtrAllocator and get a StringRef to the copy:
StringRef myCopy = myStr.copy(myAllocator);
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions