mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
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:
parent
283b399377
commit
262f39ed3a
@ -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
Block a user