From 4c1e4db3ff06417fe01efc8ab659a63c95818f93 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 6 Mar 2010 19:20:13 +0000 Subject: make APFloat::toString be const. llvm-svn: 97883 --- llvm/lib/Support/APFloat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/APFloat.cpp') diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index 619f061..8f860a6 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -3366,7 +3366,7 @@ namespace { void APFloat::toString(SmallVectorImpl &Str, unsigned FormatPrecision, - unsigned FormatMaxPadding) { + unsigned FormatMaxPadding) const { switch (category) { case fcInfinity: if (isNegative()) -- cgit v1.1