summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/APInt.h
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-10 11:21:59 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-10 11:21:59 +0000
commitdf99c29e7b25771d202b969ca5dec359a62897b1 (patch)
treebe88197665c0531927ffb8fafdf53be636254327 /include/llvm/ADT/APInt.h
parentd16918f843933dbdfb23345b24de82c1da0637fe (diff)
downloadllvm-df99c29e7b25771d202b969ca5dec359a62897b1.tar.gz
llvm-df99c29e7b25771d202b969ca5dec359a62897b1.tar.bz2
llvm-df99c29e7b25771d202b969ca5dec359a62897b1.tar.xz
Correct a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APInt.h')
-rw-r--r--include/llvm/ADT/APInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h
index c98ff18d10..bf84cbb2c6 100644
--- a/include/llvm/ADT/APInt.h
+++ b/include/llvm/ADT/APInt.h
@@ -997,10 +997,10 @@ public:
return toString(radix, false);
}
- /// Considers the APInt to be unsigned and converts it into a string in the
+ /// 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.
/// @returns a character interpretation of the APInt
- /// @brief Convert unsigned APInt to string representation.
+ /// @brief Convert signed APInt to string representation.
std::string toStringSigned(uint8_t radix = 10) const {
return toString(radix, true);
}