[compiler-rt] [sanitizer_symbolizer] Use correct format strings for uptr (PR #89815)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 12:49:21 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 dc8f6a8cdad427345a60f5142411617df521c303 79fa752ff1df4ff3aa48493cf1abecf3fc3c7d94 -- compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
index a977ff8ff7..eb26f6e0b4 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -142,7 +142,7 @@ namespace __sanitizer {
// 64-bit Windows uses LLP64 data model.
typedef unsigned long long uptr;
typedef signed long long sptr;
-# define SANITIZER_PTR_MOD "ll"
+# define SANITIZER_PTR_MOD "ll"
#else
# if (SANITIZER_WORDSIZE == 64) || SANITIZER_APPLE || SANITIZER_WINDOWS
typedef unsigned long uptr;
``````````
</details>
https://github.com/llvm/llvm-project/pull/89815
More information about the llvm-commits
mailing list