[APInt] Fix the returns description for the postfix increment/decrement operators. NFC

llvm-svn: 300219
This commit is contained in:
Craig Topper 2017-04-13 17:12:00 +00:00
parent 5948e39297
commit 7840dc8451
1 changed files with 6 additions and 2 deletions

View File

@ -620,7 +620,9 @@ public:
/// \brief Postfix increment operator.
///
/// \returns a new APInt value representing *this incremented by one
/// Increments *this by 1.
///
/// \returns a new APInt value representing the original value of *this.
const APInt operator++(int) {
APInt API(*this);
++(*this);
@ -634,7 +636,9 @@ public:
/// \brief Postfix decrement operator.
///
/// \returns a new APInt representing *this decremented by one.
/// Decrements *this by 1.
///
/// \returns a new APInt value representing the original value of *this.
const APInt operator--(int) {
APInt API(*this);
--(*this);