[llvm] r301192 - [APInt] Fix repeated word in comments. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 10:00:22 PDT 2017


Author: ctopper
Date: Mon Apr 24 12:00:22 2017
New Revision: 301192

URL: http://llvm.org/viewvc/llvm-project?rev=301192&view=rev
Log:
[APInt] Fix repeated word in comments. NFC

Modified:
    llvm/trunk/lib/Support/APInt.cpp

Modified: llvm/trunk/lib/Support/APInt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APInt.cpp?rev=301192&r1=301191&r2=301192&view=diff
==============================================================================
--- llvm/trunk/lib/Support/APInt.cpp (original)
+++ llvm/trunk/lib/Support/APInt.cpp Mon Apr 24 12:00:22 2017
@@ -2584,7 +2584,7 @@ void APInt::tcShiftLeft(WordType *Dst, u
   if (!Count)
     return;
 
-  /* WordShift is the inter-part shift; BitShift is is intra-part shift.  */
+  // WordShift is the inter-part shift; BitShift is the intra-part shift.
   unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
   unsigned BitShift = Count % APINT_BITS_PER_WORD;
 
@@ -2611,7 +2611,7 @@ void APInt::tcShiftRight(WordType *Dst,
   if (!Count)
     return;
 
-  // WordShift is the inter-part shift; BitShift is is intra-part shift.
+  // WordShift is the inter-part shift; BitShift is the intra-part shift.
   unsigned WordShift = std::min(Count / APINT_BITS_PER_WORD, Words);
   unsigned BitShift = Count % APINT_BITS_PER_WORD;
 




More information about the llvm-commits mailing list