aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/SmallStringTest.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-04-05Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining ↵Duncan P. N. Exon Smith1-3/+4
files; other minor fixes." This reverts commit r265454 since it broke the build. E.g.: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/22413/ llvm-svn: 265459
2016-04-05Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; ↵Eugene Zelenko1-4/+3
other minor fixes. Some Include What You Use suggestions were used too. Use anonymous namespaces in source files. Differential revision: http://reviews.llvm.org/D18778 llvm-svn: 265454
2015-08-11Add SmallString test trying to exercise the realloc() code pathYaron Keren1-0/+11
by allocating a small size (will go through malloc) and then large size. llvm-svn: 244637
2014-03-09Revert "Clean up SmallString a bit"David Blaikie1-17/+7
This reverts commit r203374. Ambiguities in assign... oh well. I'm just going to revert this and probably not try to recommit it as it's not terribly important. llvm-svn: 203375
2014-03-09Clean up SmallString a bitDavid Blaikie1-7/+17
Move a common utility (assign(iter, iter)) into SmallVector (some of the others could be moved there too, but this one seemed particularly generic) and replace repetitions overrides with using directives. And simplify SmallVector::assign(num, element) while I'm here rather than thrashing these files (that cause everyone to rebuild) again. llvm-svn: 203374
2012-12-04Sort the #include lines for unittest/...Chandler Carruth1-2/+2
llvm-svn: 169250
2012-01-24Additional methods for SmallString.Talin1-0/+148
llvm-svn: 148881
2009-08-19Remove SmallString::append_*int* unit tests.Benjamin Kramer1-16/+0
llvm-svn: 79451
2009-07-16Add SmallString unit test.Daniel Dunbar1-0/+64
- Patch by Ryan Flynn! llvm-svn: 76081