[Mlir-commits] [mlir] f58eabc - Apply clang-tidy fixes for misc-include-cleaner in MLIRGen.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sun Oct 22 14:24:47 PDT 2023


Author: Mehdi Amini
Date: 2023-10-22T14:23:50-07:00
New Revision: f58eabc60e406733ff51b761fb68d5bbe1e801c3

URL: https://github.com/llvm/llvm-project/commit/f58eabc60e406733ff51b761fb68d5bbe1e801c3
DIFF: https://github.com/llvm/llvm-project/commit/f58eabc60e406733ff51b761fb68d5bbe1e801c3.diff

LOG: Apply clang-tidy fixes for misc-include-cleaner in MLIRGen.cpp (NFC)

Added: 
    

Modified: 
    mlir/examples/toy/Ch2/mlir/MLIRGen.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp b/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp
index b1abd37c5725710..2f0a88f7095b7be 100644
--- a/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp
+++ b/mlir/examples/toy/Ch2/mlir/MLIRGen.cpp
@@ -12,20 +12,31 @@
 //===----------------------------------------------------------------------===//
 
 #include "toy/MLIRGen.h"
+#include "mlir/IR/Block.h"
+#include "mlir/IR/Diagnostics.h"
+#include "mlir/IR/Value.h"
+#include "mlir/Support/LogicalResult.h"
 #include "toy/AST.h"
 #include "toy/Dialect.h"
 
-#include "mlir/IR/Attributes.h"
 #include "mlir/IR/Builders.h"
 #include "mlir/IR/BuiltinOps.h"
 #include "mlir/IR/BuiltinTypes.h"
 #include "mlir/IR/MLIRContext.h"
 #include "mlir/IR/Verifier.h"
+#include "toy/Lexer.h"
 
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/ScopedHashTable.h"
-#include "llvm/Support/raw_ostream.h"
+#include "llvm/ADT/SmallVector.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/ADT/Twine.h"
+#include <cassert>
+#include <cstdint>
+#include <functional>
 #include <numeric>
+#include <optional>
+#include <vector>
 
 using namespace mlir::toy;
 using namespace toy;


        


More information about the Mlir-commits mailing list