summaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/DFAEmitter.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-07-26 19:36:28 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-07-26 19:36:28 +0000
commitcfca06d7963fa0909f90483b42a6d7d194d01e08 (patch)
tree209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/utils/TableGen/DFAEmitter.h
parent706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff)
Notes
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