From: peter klausler Date: Wed, 13 Oct 2021 01:10:33 +0000 (-0700) Subject: [flang] Fix Windows build (take 2) X-Git-Tag: upstream/15.0.7~28767 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecc7f8ab74cdc106f2966597527f20a76118e27f;p=platform%2Fupstream%2Fllvm.git [flang] Fix Windows build (take 2) Remove the offending "operator=()" member functions. This should silence the MSVC warnings that persist in uint128.h. --- diff --git a/flang/include/flang/Common/uint128.h b/flang/include/flang/Common/uint128.h index adbeeb3..b12e1729 100644 --- a/flang/include/flang/Common/uint128.h +++ b/flang/include/flang/Common/uint128.h @@ -51,16 +51,6 @@ public: : low_{n.low()}, high_{n.high()} {} explicit constexpr Int128(Int128 &&n) : low_{n.low()}, high_{n.high()} {} - constexpr Int128 &operator=(const Int128 &n) { - low_ = n.low(); - high_ = n.high(); - return *this; - } - constexpr Int128 &operator=(Int128 &&n) { - low_ = n.low(); - high_ = n.high(); - return *this; - } constexpr Int128 operator+() const { return *this; } constexpr Int128 operator~() const { return {~high_, ~low_}; }