From 2f20e0ee7331c28af6f84d690df8935d8a4386e6 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 20 Oct 2023 00:33:17 -0700 Subject: [PATCH] Apply clang-tidy fixes for misc-include-cleaner in toyc.cpp (NFC) --- mlir/examples/toy/Ch1/toyc.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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;