[libclc] [libclc] Create an internal 'clc' builtins library (PR #109985)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 25 07:03:04 PDT 2024
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 22829f757dc76b23071d9438ae9c6ddc3e966db0 e7a70c3ad35da7a36a68e7351a8424a21ce7b1ed --extensions h,inc -- libclc/clc/include/clc/geometric/clc_dot.h libclc/clc/include/clc/geometric/clc_dot.inc libclc/clc/include/clc/internal/clc.h libclc/clc/include/clc/clcfunc.h libclc/clc/include/clc/clctypes.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libclc/clc/include/clc/clctypes.h b/libclc/clc/include/clc/clctypes.h
index bc0936dd31..8ededd967e 100644
--- a/libclc/clc/include/clc/clctypes.h
+++ b/libclc/clc/include/clc/clctypes.h
@@ -11,12 +11,12 @@ typedef unsigned long ulong;
typedef __SIZE_TYPE__ size_t;
typedef __PTRDIFF_TYPE__ ptrdiff_t;
-#define __stdint_join3(a,b,c) a ## b ## c
+#define __stdint_join3(a, b, c) a##b##c
-#define __intn_t(n) __stdint_join3(__INT, n, _TYPE__)
+#define __intn_t(n) __stdint_join3(__INT, n, _TYPE__)
#define __uintn_t(n) __stdint_join3(unsigned __INT, n, _TYPE__)
-typedef __intn_t(__INTPTR_WIDTH__) intptr_t;
+typedef __intn_t(__INTPTR_WIDTH__) intptr_t;
typedef __uintn_t(__INTPTR_WIDTH__) uintptr_t;
#undef __uintn_t
``````````
</details>
https://github.com/llvm/llvm-project/pull/109985
More information about the cfe-commits
mailing list