forked from OSchip/llvm-project
Simplify DFAPacketizerEmitter State copy/move semantics to use compiler defaults.
llvm-svn: 206824
This commit is contained in:
parent
57f5fbe3b2
commit
36b3707be3
|
@ -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) {}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue