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 cpp -- 
compiler-rt/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cpp 
compiler-rt/test/asan/TestCases/Darwin/atos-symbolizer.cpp 
compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cpp 
compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_remove.cpp 
compiler-rt/test/asan/TestCases/Darwin/init_for_dlopen.cpp 
compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp 
compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp 
--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/compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp 
b/compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
index 09502e3aa..ac3c5898f 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
+++ b/compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
@@ -5,7 +5,6 @@
 // RUN: %clangxx_asan %s -o %t
 // RUN: env ASAN_OPTIONS="abort_on_error=1" not --crash %run %t 2>&1 | 
FileCheck %s
 
-
 void *pwn(malloc_zone_t *unused_zone, size_t unused_size) {
   printf("PWNED\n");
   return NULL;
diff --git 
a/compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp 
b/compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp
index 66f7e06a3..7cb1dcc51 100644
--- a/compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp
+++ b/compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp
@@ -24,7 +24,7 @@
 // RUN: diff %t.imports-sorted %t.exports-sorted
 
 // Ensure that there is no dynamic dylib linked.
-// RUN: otool -L %t > %t.libs 
+// RUN: otool -L %t > %t.libs
 // not grep -q "dynamic.dylib" < %t.libs
 
 // UNSUPPORTED: ios

``````````

</details>


https://github.com/llvm/llvm-project/pull/168545
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to