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 ea9e116e5a24e834142bc4024b57697b48599a9e 
8ce32592e780e693a9378f30237a25629a822897 -- clang/test/Driver/darwin-memprof.c 
compiler-rt/lib/memprof/memprof_mac.cpp 
compiler-rt/lib/memprof/memprof_malloc_mac.cpp 
compiler-rt/test/memprof/TestCases/Darwin/memprof_dump.cpp 
clang/lib/Driver/ToolChains/Darwin.cpp 
compiler-rt/lib/memprof/memprof_allocator.cpp 
compiler-rt/lib/memprof/memprof_allocator.h 
compiler-rt/lib/memprof/memprof_interceptors.cpp 
compiler-rt/lib/memprof/memprof_interceptors.h 
compiler-rt/lib/memprof/memprof_linux.cpp 
compiler-rt/lib/memprof/memprof_malloc_linux.cpp 
compiler-rt/lib/memprof/memprof_new_delete.cpp 
compiler-rt/test/asan/TestCases/Darwin/asan-symbolize-templated-cxx.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/memprof/memprof_mac.cpp 
b/compiler-rt/lib/memprof/memprof_mac.cpp
index 71439501bb11..a931dd364b0b 100644
--- a/compiler-rt/lib/memprof/memprof_mac.cpp
+++ b/compiler-rt/lib/memprof/memprof_mac.cpp
@@ -42,9 +42,7 @@ void InitializePlatformInterceptors() {}
 void InitializePlatformExceptionHandlers() {}
 
 // No-op. Mac does not support static linkage anyway.
-void *MemprofDoesNotSupportStaticLinkage() {
-  return 0;
-}
+void *MemprofDoesNotSupportStaticLinkage() { return 0; }
 
 uptr FindDynamicShadowStart() {
   uptr shadow_size_bytes = MemToShadowSize(kHighMemEnd);

``````````

</details>


https://github.com/llvm/llvm-project/pull/69640
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to