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 | aa53ed8f71d732e39ce616867d37a99d168b9d22 (patch) | |
tree | 7ba3a275506224f430ff8f0fe6a6a579083b38a8 /include | |
parent | 5ad632d7927ad12c05c71e9eea1f2dd2875bc854 (diff) | |
download | external_llvm-aa53ed8f71d732e39ce616867d37a99d168b9d22.zip external_llvm-aa53ed8f71d732e39ce616867d37a99d168b9d22.tar.gz external_llvm-aa53ed8f71d732e39ce616867d37a99d168b9d22.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/APInt.h | 4 | ||||
-rw-r--r-- | include/llvm/ADT/APSInt.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index ab2363b..3bbd527 100644 --- a/include/llvm/ADT/APInt.h +++ b/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/include/llvm/ADT/APSInt.h b/include/llvm/ADT/APSInt.h index 6fef4c7..7e7d1c3 100644 --- a/include/llvm/ADT/APSInt.h +++ b/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. |