1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[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 378ba9721b
commit 6cfee9ab9b

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);