[libc-commits] [libc] [libunwind] [WIP] Enough to get `libc` to build `clang` on `aarch64` (PR #97231)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 1 12:12: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 038bc1c18c786e14cc306401b00144265f8860f5 3865e451c5ac1e3122acaedecae9c277825bd5fc -- libc/src/sys/time/linux/utimes.cpp libc/src/sys/time/utimes.h libc/src/stdlib/exit_handler.h libunwind/src/UnwindCursor.hpp
``````````

</details>

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

``````````diff
diff --git a/libc/src/sys/time/linux/utimes.cpp b/libc/src/sys/time/linux/utimes.cpp
index e6bba9d96c..0bab9ada0b 100644
--- a/libc/src/sys/time/linux/utimes.cpp
+++ b/libc/src/sys/time/linux/utimes.cpp
@@ -3,12 +3,10 @@
 
 namespace LIBC_NAMESPACE {
 
-LLVM_LIBC_FUNCTION(
-  int, 
-  utimes,
-  (int dirfd, const char *pathname, const struct timeval times[2])
-) {  
-	return EINVAL;
+LLVM_LIBC_FUNCTION(int, utimes,
+                   (int dirfd, const char *pathname,
+                    const struct timeval times[2])) {
+  return EINVAL;
 }
 
 } // namespace LIBC_NAMESPACE

``````````

</details>


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


More information about the libc-commits mailing list