[Mlir-commits] [mlir] [mlir][ExecutionEngine] Fixed HWASan error (PR #181151)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Feb 12 06:24:27 PST 2026
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 origin/main HEAD --extensions h,cpp -- mlir/unittests/ExecutionEngine/OwningMemRef.cpp mlir/include/mlir/ExecutionEngine/MemRefUtils.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/unittests/ExecutionEngine/OwningMemRef.cpp b/mlir/unittests/ExecutionEngine/OwningMemRef.cpp
index f1440e659..b87252805 100644
--- a/mlir/unittests/ExecutionEngine/OwningMemRef.cpp
+++ b/mlir/unittests/ExecutionEngine/OwningMemRef.cpp
@@ -14,14 +14,14 @@ using namespace ::mlir;
using namespace ::testing;
#ifndef __has_feature
-# define __has_feature(x) 0
+#define __has_feature(x) 0
#endif
// hwaddress_sanitizer needs to be turned off for this move-assignment test
#if __has_feature(hwaddress_sanitizer)
-# define MAYBE_assignOverloadChaining DISABLED_assignOverloadChaining
+#define MAYBE_assignOverloadChaining DISABLED_assignOverloadChaining
#else
-# define MAYBE_assignOverloadChaining assignOverloadChaining
+#define MAYBE_assignOverloadChaining assignOverloadChaining
#endif
TEST(OwningMemRef, MAYBE_assignOverloadChaining) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/181151
More information about the Mlir-commits
mailing list