[Mlir-commits] [mlir] [bazel] Fix bazel build after 00eaff3 #2. (PR #135962)

Benjamin Chetioui llvmlistbot at llvm.org
Wed Apr 16 07:09:43 PDT 2025


https://github.com/bchetioui updated https://github.com/llvm/llvm-project/pull/135962

>From 9b378cb2666cc76584b7701442c2a3de51a0b6b5 Mon Sep 17 00:00:00 2001
From: Benjamin Chetioui <bchetioui at google.com>
Date: Wed, 16 Apr 2025 13:38:32 +0000
Subject: [PATCH] [bazel] Fix bazel build after 00eaff3 #2.

The linter messed up the order of includes, which is necessary as is.
---
 .../Dialect/Bufferization/IR/BufferizationTypeInterfaces.h    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h
index 8672aa60a43c5..e64f2d4c74e39 100644
--- a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h
+++ b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h
@@ -13,7 +13,9 @@
 // Bufferization Type Interfaces
 //===----------------------------------------------------------------------===//
 
-#include "mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h.inc"
+// clang-format: off
 #include "mlir/IR/Types.h"
+// clang-format: on
+#include "mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h.inc"
 
 #endif // MLIR_DIALECT_BUFFERIZATION_IR_BUFFERIZATIONTYPEINTERFACES_H_



More information about the Mlir-commits mailing list