From 262f39ed3a8969f07ca7cb4a53bf34d46c1d4351 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 21 Apr 2014 22:58:00 +0000 Subject: [PATCH] Simplify DFAPacketizerEmitter State copy/move semantics to use compiler defaults. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206824 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/DFAPacketizerEmitter.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utils/TableGen/DFAPacketizerEmitter.cpp b/utils/TableGen/DFAPacketizerEmitter.cpp index 8a2fb32b1d4..ea14cb973eb 100644 --- a/utils/TableGen/DFAPacketizerEmitter.cpp +++ b/utils/TableGen/DFAPacketizerEmitter.cpp @@ -91,7 +91,6 @@ class State { mutable TransitionMap Transitions; State(); - State(const State &S); bool operator<(const State &s) const { return stateNum < s.stateNum; @@ -156,11 +155,6 @@ public: State::State() : stateNum(currentStateNum++), isInitial(false) {} - -State::State(const State &S) : - stateNum(currentStateNum++), isInitial(S.isInitial), - stateInfo(S.stateInfo) {} - DFA::DFA(): currentState(nullptr) {} // -- 2.34.1