1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/unittests/Support
Daniel Dunbar e58499843b Fix off-by-one in llvm::Format::print.
- This also shortens the Format.h implementation, and uses the print buffer
   fully (it was wasting a character).

 - This manifested as llvm-test failures, because one side effect was that
   raw_ostream would write garbage '\x00' values into the output stream if it
   happened that the string was at the end of the buffer. This meant that grep
   would report 'Binary file matches', which meant the silly pattern matching
   llvm-test eventually does would fail. Cute. :)

llvm-svn: 79862
2009-08-23 20:31:39 +00:00
..
AllocatorTest.cpp Fix unit test on FreeBSD. We need to make sure there is enough space to save the pointer even if the memory returned from malloc was already aligned. 2009-08-12 12:31:02 +00:00
ConstantRangeTest.cpp convert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since 2009-08-23 06:32:25 +00:00
Makefile Minimal raw_ostream unit tests 2009-03-17 16:14:59 +00:00
MathExtrasTest.cpp Fixed header comment. 2009-08-20 17:01:14 +00:00
raw_ostream_test.cpp Fix off-by-one in llvm::Format::print. 2009-08-23 20:31:39 +00:00
TypeBuilderTest.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ValueHandleTest.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00