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

Benjamin Chetioui llvmlistbot at llvm.org
Wed Apr 16 06:41:58 PDT 2025


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

The linter messed up the order of includes, which is necessary as is.

>From 96cd3699a954ed68ea1ec737eb111e0dc329fe28 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.
---
 .../mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h
index 8672aa60a43c5..af2cad006e176 100644
--- a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h
+++ b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h
@@ -13,7 +13,7 @@
 // Bufferization Type Interfaces
 //===----------------------------------------------------------------------===//
 
+#include "mlir/IR/Types.h"  // NOLINT
 #include "mlir/Dialect/Bufferization/IR/BufferizationTypeInterfaces.h.inc"
-#include "mlir/IR/Types.h"
 
 #endif // MLIR_DIALECT_BUFFERIZATION_IR_BUFFERIZATIONTYPEINTERFACES_H_



More information about the Mlir-commits mailing list