llvm.org GIT mirror llvm / 262f39e
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 David Blaikie 6 years ago
1 changed file(s) with 0 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
9090 mutable TransitionMap Transitions;
9191
9292 State();
93 State(const State &S);
9493
9594 bool operator<(const State &s) const {
9695 return stateNum < s.stateNum;
154153 //
155154 State::State() :
156155 stateNum(currentStateNum++), isInitial(false) {}
157
158
159 State::State(const State &S) :
160 stateNum(currentStateNum++), isInitial(S.isInitial),
161 stateInfo(S.stateInfo) {}
162156
163157 DFA::DFA(): currentState(nullptr) {}
164158