From: Craig Topper Date: Thu, 13 Apr 2017 17:12:00 +0000 (+0000) Subject: [APInt] Fix the returns description for the postfix increment/decrement operators... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=104e2fb761dae7a9ae78b7549674811b2139181b;p=llvm [APInt] Fix the returns description for the postfix increment/decrement operators. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300219 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index 9179d9c96d1..42e1fe8c6a5 100644 --- a/include/llvm/ADT/APInt.h +++ b/include/llvm/ADT/APInt.h @@ -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);