diff --git a/mlir/examples/toy/Ch1/toyc.cpp b/mlir/examples/toy/Ch1/toyc.cpp index ca2a1a1fa8ad..fb7b484a92fb 100644 --- a/mlir/examples/toy/Ch1/toyc.cpp +++ b/mlir/examples/toy/Ch1/toyc.cpp @@ -10,6 +10,8 @@ // //===----------------------------------------------------------------------===// +#include "toy/AST.h" +#include "toy/Lexer.h" #include "toy/Parser.h" #include "llvm/ADT/StringRef.h" @@ -17,6 +19,9 @@ #include "llvm/Support/ErrorOr.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" +#include +#include +#include using namespace toy; namespace cl = llvm::cl;