From: Reid Spencer Date: Thu, 1 Mar 2007 23:30:25 +0000 (+0000) Subject: Combine two lines that can be. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=295e40aa5ca771c2841d30332d7b4266fb306d6f;p=oota-llvm.git Combine two lines that can be. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34818 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp index da8e77a7a0e..9b000da0ee3 100644 --- a/lib/Support/APInt.cpp +++ b/lib/Support/APInt.cpp @@ -943,8 +943,7 @@ APInt &APInt::sext(uint32_t width) { VAL |= mask; else pVal[wordsBefore-1] |= mask; - clearUnusedBits(); - return *this; + return clearUnusedBits(); } uint64_t mask = wordBits == 0 ? 0 : ~0ULL << wordBits;