[llvm] r206824 - Simplify DFAPacketizerEmitter State copy/move semantics to use compiler defaults.
David Blaikie
dblaikie at gmail.com
Mon Apr 21 15:58:00 PDT 2014
Author: dblaikie
Date: Mon Apr 21 17:58:00 2014
New Revision: 206824
URL: http://llvm.org/viewvc/llvm-project?rev=206824&view=rev
Log:
Simplify DFAPacketizerEmitter State copy/move semantics to use compiler defaults.
Modified:
llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp
Modified: llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp?rev=206824&r1=206823&r2=206824&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/DFAPacketizerEmitter.cpp Mon Apr 21 17:58:00 2014
@@ -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) {}
//
More information about the llvm-commits
mailing list