summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-06 19:20:13 +0000
committerChris Lattner <sabre@nondot.org>2010-03-06 19:20:13 +0000
commit4c1e4db3ff06417fe01efc8ab659a63c95818f93 (patch)
tree574fa9b4ff5fa05536cf795ffd473d6dfba1f513 /llvm/lib/Support/APFloat.cpp
parent1e93b96117ea324594622c46cf3d48af7ad0551f (diff)
downloadbcm5719-llvm-4c1e4db3ff06417fe01efc8ab659a63c95818f93.tar.gz
bcm5719-llvm-4c1e4db3ff06417fe01efc8ab659a63c95818f93.zip
make APFloat::toString be const.
llvm-svn: 97883
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r--llvm/lib/Support/APFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index 619f061862c..8f860a64672 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/lib/Support/APFloat.cpp
@@ -3366,7 +3366,7 @@ namespace {
void APFloat::toString(SmallVectorImpl<char> &Str,
unsigned FormatPrecision,
- unsigned FormatMaxPadding) {
+ unsigned FormatMaxPadding) const {
switch (category) {
case fcInfinity:
if (isNegative())
OpenPOWER on IntegriCloud