diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-02-09 12:31:26 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-02-09 12:31:26 +0000 |
| commit | cdd2f21dea8ab26e7c55dd0b39701cbc88ed005f (patch) | |
| tree | 4d652184ce6d1c2bde1245a0d99a775de2edbe89 /llvm/include | |
| parent | bf1d5458ad14d6f4ca6cc5d38906d16604f0f407 (diff) | |
| download | bcm5719-llvm-cdd2f21dea8ab26e7c55dd0b39701cbc88ed005f.tar.gz bcm5719-llvm-cdd2f21dea8ab26e7c55dd0b39701cbc88ed005f.zip | |
These function return 'void'. Don't have 'return' return anything.
llvm-svn: 64136
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/ADT/APInt.h | 4 | ||||
| -rw-r--r-- | llvm/include/llvm/ADT/APSInt.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h index ab2363bfb93..3bbd5278e96 100644 --- a/llvm/include/llvm/ADT/APInt.h +++ b/llvm/include/llvm/ADT/APInt.h @@ -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 diff --git a/llvm/include/llvm/ADT/APSInt.h b/llvm/include/llvm/ADT/APSInt.h index 6fef4c7a0d0..7e7d1c398f2 100644 --- a/llvm/include/llvm/ADT/APSInt.h +++ b/llvm/include/llvm/ADT/APSInt.h @@ -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. |

