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
This commit is contained in:
David Blaikie 2014-04-21 22:58:00 +00:00
parent 283b399377
commit 262f39ed3a

View File

@ -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) {}
//