llvm.org GIT mirror llvm / 94873e8
[ADT] Add "return *this;" to PointerEmbeddedInt::operator=. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260407 91177308-0d34-0410-b5e6-96231b3b80d8 Jordan Rose 4 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5555 PointerEmbeddedInt &operator=(IntT I) {
5656 assert((I & Mask) == 0 && "Integer has bits outside those preserved!");
5757 Value = static_cast(I) << Shift;
58 return *this;
5859 }
5960
6061 // Note that this implicit conversion additionally allows all of the basic