[clang] [SYCL] SYCL host kernel launch support for the sycl_kernel_entry_point attribute. (PR #152403)

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 20 22:51:27 PST 2025


================
@@ -898,6 +899,25 @@ static std::string convertCallArgsToString(Sema &S,
   return Result;
 }
 
+static std::string
+printCallArgsValueCategoryAndType(Sema &S, llvm::ArrayRef<const Expr *> Args) {
----------------
tahonermann wrote:

Yeah. I spent quite a while looking for a way to avoid this, including looking at using a partial diagnostic to generate the string. I couldn't find a better option. I followed the existing precedent for `BuildingBuiltinDumpStructCall` and its call to `convertCallArgsToString()`. If you know of a better way to handle this, I would be interested in learning.

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


More information about the cfe-commits mailing list