[libclc] [NFC][libclc] Fix typo in OpenCL header math/sincos.h (PR #147244)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 7 00:09:00 PDT 2025


https://github.com/wenju-he created https://github.com/llvm/llvm-project/pull/147244

None

>From c839f41508410f0fba1206d4b1cf34e52b92fa65 Mon Sep 17 00:00:00 2001
From: Wenju He <wenju.he at intel.com>
Date: Mon, 7 Jul 2025 09:07:45 +0200
Subject: [PATCH] [NFC][libclc] Fix typo in OpenCL header math/sincos.h

---
 libclc/opencl/include/clc/opencl/math/sincos.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libclc/opencl/include/clc/opencl/math/sincos.h b/libclc/opencl/include/clc/opencl/math/sincos.h
index 0a812f3d13c84..01d034e97d97c 100644
--- a/libclc/opencl/include/clc/opencl/math/sincos.h
+++ b/libclc/opencl/include/clc/opencl/math/sincos.h
@@ -7,6 +7,6 @@
 //===----------------------------------------------------------------------===//
 
 #define __CLC_BODY <clc/math/unary_decl_with_ptr.inc>
-#define FUNCTION __clc_sincos
+#define FUNCTION sincos
 #include <clc/math/gentype.inc>
 #undef FUNCTION



More information about the cfe-commits mailing list