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 --
clang/lib/Headers/arm_acle.h --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/clang/lib/Headers/arm_acle.h b/clang/lib/Headers/arm_acle.h
index 300dda9dc..089031bf7 100644
--- a/clang/lib/Headers/arm_acle.h
+++ b/clang/lib/Headers/arm_acle.h
@@ -864,13 +864,14 @@ __rndrrs(uint64_t *__p) {
/* 11.2 Guarded Control Stack intrinsics */
#if defined(__ARM_64BIT_STATE) && __ARM_64BIT_STATE
-static __inline__ void * __attribute__((__always_inline__, __nodebug__))
-__gcspr(void) {
+static __inline__ void *__attribute__((__always_inline__,
+ __nodebug__)) __gcspr(void) {
return (void *)__builtin_arm_rsr64("gcspr_el0");
}
-static __inline__ uint64_t __attribute__((__always_inline__, __nodebug__,
target("gcs")))
-__gcspopm(void) {
+static __inline__ uint64_t
+ __attribute__((__always_inline__, __nodebug__, target("gcs")))
+ __gcspopm(void) {
return __builtin_arm_gcspopm(0);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/242286
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits