OSDN Git Service

Remove Shapet assignment operator that's identical to the default. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 10 Dec 2020 09:57:14 +0000 (10:57 +0100)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 10 Dec 2020 09:58:41 +0000 (10:58 +0100)
llvm/include/llvm/CodeGen/TileShapeInfo.h

index f7ad81c..031d235 100644 (file)
@@ -26,8 +26,6 @@
 #include "llvm/CodeGen/Register.h"
 #include <utility>
 
-using namespace llvm;
-
 namespace llvm {
 
 class ShapeT {
@@ -57,14 +55,6 @@ public:
 
   bool operator!=(const ShapeT &Shape) { return !(*this == Shape); }
 
-  ShapeT &operator=(const ShapeT &RHS) {
-    Row = RHS.Row;
-    Col = RHS.Col;
-    RowImm = RHS.RowImm;
-    ColImm = RHS.ColImm;
-    return *this;
-  }
-
   MachineOperand *getRow() const { return Row; }
 
   MachineOperand *getCol() const { return Col; }