mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
make APFloat::toString be const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c383ca2ef
commit
0ddda3b8c6
@ -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…
Reference in New Issue
Block a user