commit | 295e40aa5ca771c2841d30332d7b4266fb306d6f | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Thu Mar 01 23:30:25 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Thu Mar 01 23:30:25 2007 +0000 |
tree | a70b1b28498eadf09efd894d16157d562890137e | |
parent | dbf6d37b0b45736add065def22fc44f10e7f4146 [diff] [blame] |
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 da8e77a..9b000da 100644 --- a/lib/Support/APInt.cpp +++ b/lib/Support/APInt.cpp
@@ -943,8 +943,7 @@ VAL |= mask; else pVal[wordsBefore-1] |= mask; - clearUnusedBits(); - return *this; + return clearUnusedBits(); } uint64_t mask = wordBits == 0 ? 0 : ~0ULL << wordBits;