diff --git a/llvm/include/llvm/ADT/DirectedGraph.h b/llvm/include/llvm/ADT/DirectedGraph.h index fb6b180f77e6b..fe7c9e51cbd9a 100644 --- a/llvm/include/llvm/ADT/DirectedGraph.h +++ b/llvm/include/llvm/ADT/DirectedGraph.h @@ -80,18 +80,6 @@ template class DGNode { explicit DGNode(EdgeType &E) : Edges() { Edges.insert(&E); } DGNode() = default; - explicit DGNode(const DGNode &N) : Edges(N.Edges) {} - DGNode(DGNode &&N) : Edges(std::move(N.Edges)) {} - - DGNode &operator=(const DGNode &N) { - Edges = N.Edges; - return *this; - } - DGNode &operator=(const DGNode &&N) { - Edges = std::move(N.Edges); - return *this; - } - /// Static polymorphism: delegate implementation (via isEqualTo) to the /// derived class. friend bool operator==(const NodeType &M, const NodeType &N) {