- Aug 23, 2009
-
-
Benjamin Kramer authored
llvm-svn: 79847
-
Benjamin Kramer authored
llvm-svn: 79845
-
Daniel Dunbar authored
- The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843
-
Chris Lattner authored
llvm-svn: 79842
-
Chris Lattner authored
llvm-svn: 79836
-
Chris Lattner authored
llvm-svn: 79835
-
Chris Lattner authored
update all code that this affects. llvm-svn: 79830
-
Chris Lattner authored
instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). llvm-svn: 79807
-
Chris Lattner authored
the weird MAX_COLUMN_PAD limitation. llvm-svn: 79785
-
Chris Lattner authored
OS.indent(i) << "whatever"; people seem to like indenting things ;-) llvm-svn: 79784
-
- Aug 22, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 79688
-
Anton Korobeynikov authored
This fixes PR2555 llvm-svn: 79677
-
- Aug 21, 2009
-
-
Erick Tryzelaar authored
llvm-svn: 79602
-
Eric Christopher authored
negative checks resemble each other. llvm-svn: 79595
-
Eric Christopher authored
llvm-svn: 79594
-
Erick Tryzelaar authored
llvm-svn: 79593
-
Erick Tryzelaar authored
llvm-svn: 79592
-
Erick Tryzelaar authored
and many new unit tests. llvm-svn: 79574
-
- Aug 20, 2009
-
-
Dan Gohman authored
the ErrorHandler callback. llvm-svn: 79541
-
Daniel Dunbar authored
llvm-svn: 79540
-
- Aug 19, 2009
-
-
Eli Friedman authored
llvm-svn: 79461
-
Daniel Dunbar authored
SmallString::c_str. llvm-svn: 79456
-
Daniel Dunbar authored
right. - This class turns out to be much more convenient to use if we do this; clients can make sure the buffer is always big enough if they care (since our current idiom tends to be to use a SmallString<256> for the input to this we should generally be avoiding an unnecessary malloc). Also, add a convenience raw_svector_ostream::str method which flushes the buffer and returns a StringRef for the vector contents. llvm-svn: 79446
-
Daniel Dunbar authored
llvm-svn: 79437
-
Daniel Dunbar authored
- This avoids unnecessary malloc/free overhead in the common case, and unnecessary copying from the ostream buffer into the output vector. llvm-svn: 79434
-
Daniel Dunbar authored
rather obscure way (the other candidate is r79377). llvm-svn: 79426
-
Daniel Dunbar authored
llvm-svn: 79386
-
Daniel Dunbar authored
- The base class implementation is correct. llvm-svn: 79385
-
Daniel Dunbar authored
buffer. llvm-svn: 79382
-
Daniel Dunbar authored
- Kill off begin(), end(), and iterator. It isn't clear what these mean. Instead provide getBufferStart(), which can be used with GetNumBytesInBuffer to the same effect. - Update ComputeColumn to take arguments for the buffer to scan, this simplifies the implementation of write_impl substantially. - This should also fix possible problems with the scanning pointer pointing outside of the current raw_ostream buffer. llvm-svn: 79379
-
Daniel Dunbar authored
div/mods in 32-bits. llvm-svn: 79375
-
- Aug 18, 2009
-
-
Dan Gohman authored
allow underlying stream classes to decline buffering. After calling SetBuffered(), re-check whether the stream is Unbuffered in order to handle the case where the underlying stream has declined buffering. llvm-svn: 79362
-
Daniel Dunbar authored
llvm-svn: 79361
-
Daniel Dunbar authored
llvm-svn: 79359
-
Erick Tryzelaar authored
llvm-svn: 79353
-
Daniel Dunbar authored
llvm-svn: 79325
-
Daniel Dunbar authored
- Patch by Yonggang Luo. llvm-svn: 79315
-
Daniel Dunbar authored
- Patch by Yonggang Luo. llvm-svn: 79314
-
- Aug 17, 2009
-
-
Chris Lattner authored
just remove the argument and replace it with 1. llvm-svn: 79246
-
Erick Tryzelaar authored
This also adds unit tests to APFloat that mainly tests the string handling of APFloat, but not much else of it's api. llvm-svn: 79210
-