[clang] [clang][SYCL] Handle cdecl variadic functions for SYCL device (PR #194922)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 30 00:46:16 PDT 2026
================
@@ -9752,7 +9752,7 @@ def warn_kern_is_inline : Warning<
"ignored 'inline' attribute on kernel function %0">,
InGroup<CudaCompat>;
def err_variadic_device_fn : Error<
- "CUDA device code does not support variadic functions">;
+ "%select{CUDA|SYCL}0 device code does not support variadic functions">;
----------------
Fznamznon wrote:
I was surprised as well, I was hesitant to remove CUDA from it though in case some of downstreams use it.
https://github.com/llvm/llvm-project/pull/194922
More information about the cfe-commits
mailing list