summaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/DFAEmitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/DFAEmitter.h')
-rw-r--r--llvm/utils/TableGen/DFAEmitter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/DFAEmitter.h b/llvm/utils/TableGen/DFAEmitter.h
index 76de8f72cd88e..44e5d97d544ff 100644
--- a/llvm/utils/TableGen/DFAEmitter.h
+++ b/llvm/utils/TableGen/DFAEmitter.h
@@ -17,16 +17,16 @@
#ifndef LLVM_UTILS_TABLEGEN_DFAEMITTER_H
#define LLVM_UTILS_TABLEGEN_DFAEMITTER_H
-#include "llvm/ADT/StringRef.h"
+#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/UniqueVector.h"
-#include "llvm/Support/raw_ostream.h"
-#include "llvm/TableGen/Record.h"
+#include <map>
#include <set>
-#include <unordered_map>
namespace llvm {
class raw_ostream;
+class StringRef;
+
/// Construct a deterministic finite state automaton from possible
/// nondeterministic state and transition data.
///
@@ -99,7 +99,7 @@ private:
void constructDfa();
/// Visit a single DFA state and construct all possible transitions to new DFA
/// states.
- void visitDfaState(DfaState DS);
+ void visitDfaState(const DfaState &DS);
};
} // namespace llvm