[libclc] [libclc] Reduce include usage in OpenCL builtins (PR #146840)

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 4 03:12:17 PDT 2025


================
@@ -6,5 +6,12 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef __CLC_OPENCL_OPENCL_INTEGER_ABS_H__
----------------
frasercrmck wrote:

Ah it's because I copied it incorrectly from `__CLC_OPENCL_OPENCL_BASE_H__` which does need it twice. Anyway, fixed. Thanks for spotting that!

https://github.com/llvm/llvm-project/pull/146840


More information about the cfe-commits mailing list