commit | 4c1e4db3ff06417fe01efc8ab659a63c95818f93 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Mar 06 19:20:13 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Mar 06 19:20:13 2010 +0000 |
tree | 574fa9b4ff5fa05536cf795ffd473d6dfba1f513 | |
parent | 1e93b96117ea324594622c46cf3d48af7ad0551f [diff] [blame] |
make APFloat::toString be const. llvm-svn: 97883
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 @@ void APFloat::toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision, - unsigned FormatMaxPadding) { + unsigned FormatMaxPadding) const { switch (category) { case fcInfinity: if (isNegative())