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 h,cpp,c --
clang/test/Sema/safestack-deprecated-builtins.c
compiler-rt/include/sanitizer/safestack_interface.h
clang/lib/Sema/SemaChecking.cpp compiler-rt/lib/safestack/safestack.cpp
compiler-rt/test/safestack/sigaltstack.c --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/include/sanitizer/safestack_interface.h
b/compiler-rt/include/sanitizer/safestack_interface.h
index 8cc9d6c76..68d2fed6c 100644
--- a/compiler-rt/include/sanitizer/safestack_interface.h
+++ b/compiler-rt/include/sanitizer/safestack_interface.h
@@ -20,13 +20,13 @@ extern "C" {
#endif
/// Returns the current unsafe stack pointer of the current thread.
-const void * SANITIZER_CDECL __safestack_get_unsafe_stack_ptr(void);
+const void *SANITIZER_CDECL __safestack_get_unsafe_stack_ptr(void);
/// Returns a pointer to the bottom of the unsafe stack of the current thread.
-const void * SANITIZER_CDECL __safestack_get_unsafe_stack_bottom(void);
+const void *SANITIZER_CDECL __safestack_get_unsafe_stack_bottom(void);
/// Returns a pointer to the top of the unsafe stack of the current thread.
-const void * SANITIZER_CDECL __safestack_get_unsafe_stack_top(void);
+const void *SANITIZER_CDECL __safestack_get_unsafe_stack_top(void);
#ifdef __cplusplus
} // extern "C"
``````````
</details>
https://github.com/llvm/llvm-project/pull/198292
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits