[Mlir-commits] [mlir] [mlir] fix Undefined behavior in CastInfo::castFailed with From=<MLIRinterface> (PR #87145)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Apr 1 06:28:09 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 e6f63a942a45e3545332cd9a43982a69a4d5667b dd0c480f2da1604899d8d9a3ef43b656e52c1000 -- mlir/include/mlir/IR/OpDefinition.h mlir/tools/mlir-tblgen/OpInterfacesGen.cpp mlir/unittests/IR/InterfaceTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/unittests/IR/InterfaceTest.cpp b/mlir/unittests/IR/InterfaceTest.cpp
index e57c094025..7012da6692 100644
--- a/mlir/unittests/IR/InterfaceTest.cpp
+++ b/mlir/unittests/IR/InterfaceTest.cpp
@@ -122,5 +122,4 @@ TEST(OperationInterfaceTest, CastOpToInterface) {
EXPECT_TRUE(llvm::isa<OpAsmOpInterface>(interface));
EXPECT_TRUE(llvm::dyn_cast<OpAsmOpInterface>(interface));
-
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/87145
More information about the Mlir-commits
mailing list