Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Support] Add a UniqueStringSaver: like StringSaver, but deduplicating. | Sam McCall | 2018-07-23 | 1 | -0/+7 |
| | | | | | | | | | | | | Summary: Clarify contract of StringSaver (it null-terminates, callers rely on it). Reviewers: hokein Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D49596 llvm-svn: 337677 | ||||
* | Use StringRef in StringSaver API (NFC) | Mehdi Amini | 2016-10-05 | 1 | -2/+2 |
| | | | | llvm-svn: 283290 | ||||
* | There is only one saver of strings. | Rafael Espindola | 2015-08-13 | 1 | -1/+1 |
| | | | | llvm-svn: 244854 | ||||
* | Bring in a BumpPtrStringSaver from lld and simplify the interface. | Rafael Espindola | 2015-06-13 | 1 | -0/+19 |
StringSaver now always saves to a BumpPtrAllocator. The only reason for having the virtual saveImpl is so lld can have a thread safe version. The reason for the distinct BumpPtrStringSaver class is to avoid the virtual destructor. llvm-svn: 239669 |