[clang] [clang][SYCL] Handle cdecl variadic functions for SYCL device (PR #194922)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 30 06:28:18 PDT 2026
================
@@ -4459,6 +4460,11 @@ void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto,
}
}
+ if (FD && FD->isVariadic() && getLangOpts().SYCLIsDevice &&
+ !isUnevaluatedContext()) {
----------------
erichkeane wrote:
single liner shouldn't have curleys.
https://github.com/llvm/llvm-project/pull/194922
More information about the cfe-commits
mailing list