[llvm-branch-commits] [compiler-rt] PR for llvm/llvm-project#79283 (PR #80068)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 30 14:10:52 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 bab01aead7d7a34436bc8e1639b90227374f079e ebe024a11464ba70ada0c7297eb6d5d8cedc1085 -- compiler-rt/lib/dfsan/dfsan_custom.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/compiler-rt/lib/dfsan/dfsan_custom.cpp b/compiler-rt/lib/dfsan/dfsan_custom.cpp
index 3af26e9f64..14173b2b96 100644
--- a/compiler-rt/lib/dfsan/dfsan_custom.cpp
+++ b/compiler-rt/lib/dfsan/dfsan_custom.cpp
@@ -1204,9 +1204,10 @@ char *__dfso_strcpy(char *dest, const char *src, dfsan_label dst_label,
 }
 
 template <typename Fn>
-static ALWAYS_INLINE auto dfsan_strtol_impl(
-    Fn real, const char *nptr, char **endptr, int base,
-    char **tmp_endptr) -> decltype(real(nullptr, nullptr, 0)) {
+static ALWAYS_INLINE auto dfsan_strtol_impl(Fn real, const char *nptr,
+                                            char **endptr, int base,
+                                            char **tmp_endptr)
+    -> decltype(real(nullptr, nullptr, 0)) {
   assert(tmp_endptr);
   auto ret = real(nptr, tmp_endptr, base);
   if (endptr)

``````````

</details>


https://github.com/llvm/llvm-project/pull/80068


More information about the llvm-branch-commits mailing list