1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

make APFloat::toString be const.

llvm-svn: 97883
This commit is contained in:
Chris Lattner 2010-03-06 19:20:13 +00:00
parent eb142908d7
commit a446775fd5
2 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ namespace llvm {
/// 1.01E-2 4 1 1.01E-2
void toString(SmallVectorImpl<char> &Str,
unsigned FormatPrecision = 0,
unsigned FormatMaxPadding = 3);
unsigned FormatMaxPadding = 3) const;
private:

View File

@ -3366,7 +3366,7 @@ namespace {
void APFloat::toString(SmallVectorImpl<char> &Str,
unsigned FormatPrecision,
unsigned FormatMaxPadding) {
unsigned FormatMaxPadding) const {
switch (category) {
case fcInfinity:
if (isNegative())