[Mlir-commits] [mlir] 2f20e0e - Apply clang-tidy fixes for misc-include-cleaner in toyc.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Oct 22 14:24:44 PDT 2023
Author: Mehdi Amini
Date: 2023-10-22T14:23:49-07:00
New Revision: 2f20e0ee7331c28af6f84d690df8935d8a4386e6
URL: https://github.com/llvm/llvm-project/commit/2f20e0ee7331c28af6f84d690df8935d8a4386e6
DIFF: https://github.com/llvm/llvm-project/commit/2f20e0ee7331c28af6f84d690df8935d8a4386e6.diff
LOG: Apply clang-tidy fixes for misc-include-cleaner in toyc.cpp (NFC)
Added:
Modified:
mlir/examples/toy/Ch1/toyc.cpp
Removed:
################################################################################
diff --git a/mlir/examples/toy/Ch1/toyc.cpp b/mlir/examples/toy/Ch1/toyc.cpp
index ca2a1a1fa8adfc4..fb7b484a92fb9f2 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 <memory>
+#include <string>
+#include <system_error>
using namespace toy;
namespace cl = llvm::cl;
More information about the Mlir-commits
mailing list