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,h,c --
clang/include/clang/Basic/Specifiers.h clang/lib/AST/ItaniumMangle.cpp
clang/lib/AST/Type.cpp clang/lib/AST/TypePrinter.cpp
clang/lib/Basic/Targets/SPIR.h clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGDebugInfo.cpp clang/lib/CodeGen/Targets/SPIR.cpp
clang/test/DebugInfo/Generic/cc.c clang/tools/libclang/CXType.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/clang/include/clang/Basic/Specifiers.h
b/clang/include/clang/Basic/Specifiers.h
index a35f1cfd5..c1b719856 100644
--- a/clang/include/clang/Basic/Specifiers.h
+++ b/clang/include/clang/Basic/Specifiers.h
@@ -277,38 +277,38 @@ namespace clang {
/// CallingConv - Specifies the calling convention that a function uses.
enum CallingConv {
- CC_C, // __attribute__((cdecl))
- CC_X86StdCall, // __attribute__((stdcall))
- CC_X86FastCall, // __attribute__((fastcall))
- CC_X86ThisCall, // __attribute__((thiscall))
- CC_X86VectorCall, // __attribute__((vectorcall))
- CC_X86Pascal, // __attribute__((pascal))
- CC_Win64, // __attribute__((ms_abi))
- CC_X86_64SysV, // __attribute__((sysv_abi))
- CC_X86RegCall, // __attribute__((regcall))
- CC_AAPCS, // __attribute__((pcs("aapcs")))
- CC_AAPCS_VFP, // __attribute__((pcs("aapcs-vfp")))
- CC_IntelOclBicc, // __attribute__((intel_ocl_bicc))
- CC_DeviceKernel, // __attribute__((device_kernel))
- CC_Swift, // __attribute__((swiftcall))
- CC_SwiftAsync, // __attribute__((swiftasynccall))
- CC_PreserveMost, // __attribute__((preserve_most))
- CC_PreserveAll, // __attribute__((preserve_all))
- CC_AArch64VectorCall, // __attribute__((aarch64_vector_pcs))
- CC_AArch64SVEPCS, // __attribute__((aarch64_sve_pcs))
- CC_M68kRTD, // __attribute__((m68k_rtd))
- CC_PreserveNone, // __attribute__((preserve_none))
- CC_RISCVVectorCall, // __attribute__((riscv_vector_cc))
- CC_RISCVVLSCall_32, // __attribute__((riscv_vls_cc(32)))
- CC_RISCVVLSCall_64, // __attribute__((riscv_vls_cc(64)))
- CC_RISCVVLSCall_128, // __attribute__((riscv_vls_cc)) or
- // __attribute__((riscv_vls_cc(128)))
- CC_RISCVVLSCall_256, // __attribute__((riscv_vls_cc(256)))
- CC_RISCVVLSCall_512, // __attribute__((riscv_vls_cc(512)))
- CC_RISCVVLSCall_1024, // __attribute__((riscv_vls_cc(1024)))
- CC_RISCVVLSCall_2048, // __attribute__((riscv_vls_cc(2048)))
- CC_RISCVVLSCall_4096, // __attribute__((riscv_vls_cc(4096)))
- CC_RISCVVLSCall_8192, // __attribute__((riscv_vls_cc(8192)))
+ CC_C, // __attribute__((cdecl))
+ CC_X86StdCall, // __attribute__((stdcall))
+ CC_X86FastCall, // __attribute__((fastcall))
+ CC_X86ThisCall, // __attribute__((thiscall))
+ CC_X86VectorCall, // __attribute__((vectorcall))
+ CC_X86Pascal, // __attribute__((pascal))
+ CC_Win64, // __attribute__((ms_abi))
+ CC_X86_64SysV, // __attribute__((sysv_abi))
+ CC_X86RegCall, // __attribute__((regcall))
+ CC_AAPCS, // __attribute__((pcs("aapcs")))
+ CC_AAPCS_VFP, // __attribute__((pcs("aapcs-vfp")))
+ CC_IntelOclBicc, // __attribute__((intel_ocl_bicc))
+ CC_DeviceKernel, // __attribute__((device_kernel))
+ CC_Swift, // __attribute__((swiftcall))
+ CC_SwiftAsync, // __attribute__((swiftasynccall))
+ CC_PreserveMost, // __attribute__((preserve_most))
+ CC_PreserveAll, // __attribute__((preserve_all))
+ CC_AArch64VectorCall, // __attribute__((aarch64_vector_pcs))
+ CC_AArch64SVEPCS, // __attribute__((aarch64_sve_pcs))
+ CC_M68kRTD, // __attribute__((m68k_rtd))
+ CC_PreserveNone, // __attribute__((preserve_none))
+ CC_RISCVVectorCall, // __attribute__((riscv_vector_cc))
+ CC_RISCVVLSCall_32, // __attribute__((riscv_vls_cc(32)))
+ CC_RISCVVLSCall_64, // __attribute__((riscv_vls_cc(64)))
+ CC_RISCVVLSCall_128, // __attribute__((riscv_vls_cc)) or
+ // __attribute__((riscv_vls_cc(128)))
+ CC_RISCVVLSCall_256, // __attribute__((riscv_vls_cc(256)))
+ CC_RISCVVLSCall_512, // __attribute__((riscv_vls_cc(512)))
+ CC_RISCVVLSCall_1024, // __attribute__((riscv_vls_cc(1024)))
+ CC_RISCVVLSCall_2048, // __attribute__((riscv_vls_cc(2048)))
+ CC_RISCVVLSCall_4096, // __attribute__((riscv_vls_cc(4096)))
+ CC_RISCVVLSCall_8192, // __attribute__((riscv_vls_cc(8192)))
CC_RISCVVLSCall_16384, // __attribute__((riscv_vls_cc(16384)))
CC_RISCVVLSCall_32768, // __attribute__((riscv_vls_cc(32768)))
CC_RISCVVLSCall_65536, // __attribute__((riscv_vls_cc(65536)))
``````````
</details>
https://github.com/llvm/llvm-project/pull/216252
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits