summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/TwineTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation.Evgeniy Stepanov2016-12-171-1/+1
| | | | | | | unittests/ADT/TwineTest.cpp:106:38: error: field 'Count' will be initialized after base 'llvm::FormatAdapter<int>' [-Werror,-Wreorder] explicit formatter(int &Count) : Count(Count), FormatAdapter(0) {} llvm-svn: 290029
* Add support for formatv to llvm::Twine.Zachary Turner2016-12-171-1/+27
| | | | | | Differential Revision: https://reviews.llvm.org/D27835 llvm-svn: 290020
* Teach Twine to support SmallString.Yaron Keren2015-03-171-0/+10
| | | | | | | | Enable removing .str() member calls for these frequent cases. http://reviews.llvm.org/D6372 llvm-svn: 232465
* Sort the #include lines for unittest/...Chandler Carruth2012-12-041-1/+1
| | | | llvm-svn: 169250
* Add Twine support for characters, and switch twine to use a union internallyChris Lattner2011-07-241-2/+6
| | | | | | to eliminate some casting. llvm-svn: 135888
* Support/ADT/Twine: Add toNullTerminatedStringRef.Michael J. Spencer2010-12-011-0/+8
| | | | llvm-svn: 120600
* Twine: Use raw_ostream::write_hex, remove unused itohexstr method.Daniel Dunbar2009-07-301-2/+1
| | | | llvm-svn: 77617
* Twine: Provide [u]int{32,64} conversions via implicit constructors instead ofDaniel Dunbar2009-07-301-6/+7
| | | | | | explicitly. llvm-svn: 77576
* fix unittest on platforms with unsigned chars (e.g. linux-ppc)Benjamin Kramer2009-07-291-1/+1
| | | | llvm-svn: 77471
* Twines: Support numeric conversion directly (uitostr, etc).Daniel Dunbar2009-07-291-0/+12
| | | | | | | | | | | | | | | - Provides static constructors for doing number to string conversions without using temporaries. - There are several ways to do this, I think given the Twine constraints this is the simplest one. - One FIXME for fast number -> hex conversion. - Added another comment on one last major bit of perf work Twines need, which is to make raw_svector_ostream more efficient. llvm-svn: 77445
* Add Twine ADT.Daniel Dunbar2009-07-241-0/+63
- Not currently used. llvm-svn: 76956
OpenPOWER on IntegriCloud