[Mlir-commits] [mlir] [mlir][python]Python Bindings for select edit operations on Block arguments (PR #94305)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jun 3 19:23:05 PDT 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 4d20f495df1968ab51aebe9696923724ee80576d 235018bfda75e0beee3c738e18b5dddc2057818f -- mlir/include/mlir-c/IR.h mlir/lib/Bindings/Python/IRCore.cpp mlir/lib/CAPI/IR/IR.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir-c/IR.h b/mlir/include/mlir-c/IR.h
index c827a33a79..a71592203f 100644
--- a/mlir/include/mlir-c/IR.h
+++ b/mlir/include/mlir-c/IR.h
@@ -862,7 +862,8 @@ MLIR_CAPI_EXPORTED MlirValue mlirBlockAddArgument(MlirBlock block,
MLIR_CAPI_EXPORTED void mlirBlockEraseArgument(MlirBlock block, unsigned index);
/// Erases 'num' arguments from the index 'start'.
-MLIR_CAPI_EXPORTED void mlirBlockEraseArguments(MlirBlock block, unsigned start, unsigned num);
+MLIR_CAPI_EXPORTED void mlirBlockEraseArguments(MlirBlock block, unsigned start,
+ unsigned num);
/// Inserts an argument of the specified type at a specified index to the block.
/// Returns the newly added argument.
``````````
</details>
https://github.com/llvm/llvm-project/pull/94305
More information about the Mlir-commits
mailing list