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 7c814c13d0df6dbd0ef6a8b2be214d3f6edbb566
99b2bf2e1f70ed6f374a380f91a707c2acd8a318 --extensions 'cpp,h,c' --
clang/lib/CodeGen/CGPointerAuthInfo.h
clang/test/CodeGen/ptrauth-function-attributes.c
clang/test/CodeGen/ptrauth-function-init-fail.c
clang/test/CodeGen/ptrauth-function-init.c
clang/test/CodeGen/ptrauth-function-lvalue-cast.c
clang/test/CodeGen/ptrauth-function.c clang/test/CodeGen/ptrauth-weak_import.c
clang/test/CodeGenCXX/ptrauth.cpp clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Basic/PointerAuthOptions.h
clang/include/clang/Frontend/CompilerInvocation.h
clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGCall.h clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprConstant.cpp clang/lib/CodeGen/CGPointerAuth.cpp
clang/lib/CodeGen/CodeGenFunction.cpp clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.h clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Headers/ptrauth.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang/Basic/PointerAuthOptions.h
b/clang/include/clang/Basic/PointerAuthOptions.h
index aaad4a2b2b..2851958a80 100644
--- a/clang/include/clang/Basic/PointerAuthOptions.h
+++ b/clang/include/clang/Basic/PointerAuthOptions.h
@@ -35,12 +35,7 @@ public:
/// Hardware pointer-signing keys in ARM8.3.
///
/// These values are the same used in ptrauth.h.
- enum class ARM8_3Key : unsigned {
- ASIA = 0,
- ASIB = 1,
- ASDA = 2,
- ASDB = 3
- };
+ enum class ARM8_3Key : unsigned { ASIA = 0, ASIB = 1, ASDA = 2, ASDB = 3 };
/// Forms of extra discrimination.
enum class Discrimination : unsigned {
``````````
</details>
https://github.com/llvm/llvm-project/pull/93906
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits