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 HEAD~1 HEAD --extensions cl,inc,h -- libclc/clc/include/clc/math/clc_cos.h libclc/clc/include/clc/math/clc_sin.h libclc/clc/include/clc/math/clc_sincos.h libclc/clc/include/clc/math/clc_sincos_helpers_fp64.inc libclc/clc/lib/generic/math/clc_cos.cl libclc/clc/lib/generic/math/clc_cos.inc libclc/clc/lib/generic/math/clc_sin.cl libclc/clc/lib/generic/math/clc_sin.inc libclc/clc/lib/generic/math/clc_sincos.cl libclc/clc/lib/generic/math/clc_sincos_helpers_fp64.inc libclc/clc/include/clc/math/clc_sincos_helpers.h libclc/clc/include/clc/math/tables.h libclc/clc/lib/generic/math/clc_sincos_helpers.cl libclc/clc/lib/generic/math/clc_tables.cl libclc/generic/include/clc/math/sincos.h libclc/generic/lib/math/clc_tan.cl libclc/generic/lib/math/cos.cl libclc/generic/lib/math/sin.cl libclc/generic/lib/math/sincos.cl libclc/clc/lib/generic/math/clc_sincos.inc `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/libclc/clc/lib/generic/math/clc_tables.cl b/libclc/clc/lib/generic/math/clc_tables.cl index 05053aea7..7db00532c 100644 --- a/libclc/clc/lib/generic/math/clc_tables.cl +++ b/libclc/clc/lib/generic/math/clc_tables.cl @@ -1649,19 +1649,17 @@ CLC_TABLE_FUNCTION(double, COSH_TBL_HEAD, cosh_tbl_head); CLC_TABLE_FUNCTION(double, COSH_TBL_TAIL, cosh_tbl_tail); DECLARE_TABLE(uchar, PIBITS_TBL, ) = { - 224, 241, 27, 193, 12, 88, 33, 116, 53, 126, 196, 126, 237, 175, - 169, 75, 74, 41, 222, 231, 28, 244, 236, 197, 151, 175, 31, - 235, 158, 212, 181, 168, 127, 121, 154, 253, 24, 61, 221, 38, - 44, 159, 60, 251, 217, 180, 125, 180, 41, 104, 45, 70, 188, - 188, 63, 96, 22, 120, 255, 95, 226, 127, 236, 160, 228, 247, - 46, 126, 17, 114, 210, 231, 76, 13, 230, 88, 71, 230, 4, 249, - 125, 209, 154, 192, 113, 166, 19, 18, 237, 186, 212, 215, 8, - 162, 251, 156, 166, 196, 114, 172, 119, 248, 115, 72, 70, 39, - 168, 187, 36, 25, 128, 75, 55, 9, 233, 184, 145, 220, 134, 21, - 239, 122, 175, 142, 69, 249, 7, 65, 14, 241, 100, 86, 138, 109, - 3, 119, 211, 212, 71, 95, 157, 240, 167, 84, 16, 57, 185, 13, - 230, 139, 2, 0, 0, 0, 0, 0, 0, 0 -}; + 224, 241, 27, 193, 12, 88, 33, 116, 53, 126, 196, 126, 237, 175, 169, + 75, 74, 41, 222, 231, 28, 244, 236, 197, 151, 175, 31, 235, 158, 212, + 181, 168, 127, 121, 154, 253, 24, 61, 221, 38, 44, 159, 60, 251, 217, + 180, 125, 180, 41, 104, 45, 70, 188, 188, 63, 96, 22, 120, 255, 95, + 226, 127, 236, 160, 228, 247, 46, 126, 17, 114, 210, 231, 76, 13, 230, + 88, 71, 230, 4, 249, 125, 209, 154, 192, 113, 166, 19, 18, 237, 186, + 212, 215, 8, 162, 251, 156, 166, 196, 114, 172, 119, 248, 115, 72, 70, + 39, 168, 187, 36, 25, 128, 75, 55, 9, 233, 184, 145, 220, 134, 21, + 239, 122, 175, 142, 69, 249, 7, 65, 14, 241, 100, 86, 138, 109, 3, + 119, 211, 212, 71, 95, 157, 240, 167, 84, 16, 57, 185, 13, 230, 139, + 2, 0, 0, 0, 0, 0, 0, 0}; _CLC_DEF _CLC_OVERLOAD ulong TABLE_MANGLE(pibits_tbl)(int idx) { return *(__constant ulong *)(PIBITS_TBL + idx); `````````` </details> https://github.com/llvm/llvm-project/pull/139527 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits