mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 10:30:30 +00:00
make APFloat::toString be const.
llvm-svn: 97883
This commit is contained in:
parent
eb142908d7
commit
a446775fd5
@ -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:
|
||||
|
||||
|
@ -3366,7 +3366,7 @@ namespace {
|
||||
|
||||
void APFloat::toString(SmallVectorImpl<char> &Str,
|
||||
unsigned FormatPrecision,
|
||||
unsigned FormatMaxPadding) {
|
||||
unsigned FormatMaxPadding) const {
|
||||
switch (category) {
|
||||
case fcInfinity:
|
||||
if (isNegative())
|
||||
|
Loading…
x
Reference in New Issue
Block a user