[Mlir-commits] [mlir] [MLIR] Add C-API for parsing bytecode (PR #83825)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Mar 4 03:22:14 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff cad6ad2759a782c48193f83886488dacc9f330e3 5bb9b56d601e4ffc2376ef46d5ef0ee464f24479 -- mlir/include/mlir-c/IR.h mlir/include/mlir/Bytecode/BytecodeReaderConfig.h mlir/include/mlir/CAPI/IR.h mlir/include/mlir/IR/AsmState.h mlir/lib/CAPI/IR/IR.cpp mlir/test/CAPI/ir.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/CAPI/IR.h b/mlir/include/mlir/CAPI/IR.h
index aea02e714e..c191004040 100644
--- a/mlir/include/mlir/CAPI/IR.h
+++ b/mlir/include/mlir/CAPI/IR.h
@@ -15,8 +15,8 @@
#ifndef MLIR_CAPI_IR_H
#define MLIR_CAPI_IR_H
-#include "mlir/Bytecode/BytecodeWriter.h"
#include "mlir/Bytecode/BytecodeReader.h"
+#include "mlir/Bytecode/BytecodeWriter.h"
#include "mlir/CAPI/Wrap.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/MLIRContext.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/83825
More information about the Mlir-commits
mailing list