These function return 'void'. Don't have 'return' return anything.

llvm-svn: 64136
This commit is contained in:
Bill Wendling 2009-02-09 12:31:26 +00:00
parent bf1d5458ad
commit cdd2f21dea
2 changed files with 3 additions and 3 deletions

View File

@ -1125,13 +1125,13 @@ public:
/// Considers the APInt to be unsigned and converts it into a string in the
/// radix given. The radix can be 2, 8, 10 or 16.
void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
return toString(Str, Radix, false);
toString(Str, Radix, false);
}
/// Considers the APInt to be signed and converts it into a string in the
/// radix given. The radix can be 2, 8, 10 or 16.
void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
return toString(Str, Radix, true);
toString(Str, Radix, true);
}
/// toString - This returns the APInt as a std::string. Note that this is an

View File

@ -59,7 +59,7 @@ public:
/// toString - Append this APSInt to the specified SmallString.
void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
return APInt::toString(Str, Radix, isSigned());
APInt::toString(Str, Radix, isSigned());
}
/// toString - Converts an APInt to a std::string. This is an inefficient
/// method, your should prefer passing in a SmallString instead.