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 -- 
clang/include/clang/Basic/Specifiers.h clang/lib/Basic/Targets/SPIR.h 
clang/lib/CodeGen/CGCall.cpp clang/lib/CodeGen/CGDebugInfo.cpp 
clang/test/SemaSYCL/sycl-cconv.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 a2a981fd4..5331d79d3 100644
--- a/clang/include/clang/Basic/Specifiers.h
+++ b/clang/include/clang/Basic/Specifiers.h
@@ -277,18 +277,18 @@ 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_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_SpirFunction,
     CC_DeviceKernel,       // __attribute__((device_kernel))
     CC_Swift,              // __attribute__((swiftcall))

``````````

</details>


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

Reply via email to