From a789997cb1baf24fff5d99ee4d1b99f4e3f4b1a6 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 8 May 2020 14:53:10 +0100 Subject: [PATCH] DFAEmitter.h - remove unnecessary headers. NFC. Reduce StringRef.h include to forward declaration and add implicit SmallVector.h and include dependencies. --- utils/TableGen/DFAEmitter.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/TableGen/DFAEmitter.h b/utils/TableGen/DFAEmitter.h index f7724ce06ba..44e5d97d544 100644 --- a/utils/TableGen/DFAEmitter.h +++ b/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 #include -#include namespace llvm { class raw_ostream; +class StringRef; + /// Construct a deterministic finite state automaton from possible /// nondeterministic state and transition data. ///