llvm.org GIT mirror llvm / af9b6b2
These function return 'void'. Don't have 'return' return anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64136 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 11 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
11241124 /// Considers the APInt to be unsigned and converts it into a string in the
11251125 /// radix given. The radix can be 2, 8, 10 or 16.
11261126 void toStringUnsigned(SmallVectorImpl &Str, unsigned Radix = 10) const {
1127 return toString(Str, Radix, false);
1127 toString(Str, Radix, false);
11281128 }
11291129
11301130 /// Considers the APInt to be signed and converts it into a string in the
11311131 /// radix given. The radix can be 2, 8, 10 or 16.
11321132 void toStringSigned(SmallVectorImpl &Str, unsigned Radix = 10) const {
1133 return toString(Str, Radix, true);
1133 toString(Str, Radix, true);
11341134 }
11351135
11361136 /// toString - This returns the APInt as a std::string. Note that this is an
5858
5959 /// toString - Append this APSInt to the specified SmallString.
6060 void toString(SmallVectorImpl &Str, unsigned Radix = 10) const {
61 return APInt::toString(Str, Radix, isSigned());
61 APInt::toString(Str, Radix, isSigned());
6262 }
6363 /// toString - Converts an APInt to a std::string. This is an inefficient
6464 /// method, your should prefer passing in a SmallString instead.