[all-commits] [llvm/llvm-project] 7e31f2: [clang][SYCL] Diagnose reference kernel parameters...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Wed Jul 1 01:18:52 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e31f2cffd397ae65a91b0fb2bb7b2097e8e8a4b
https://github.com/llvm/llvm-project/commit/7e31f2cffd397ae65a91b0fb2bb7b2097e8e8a4b
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
M clang/docs/ReleaseNotes.md
A clang/include/clang/AST/SubobjectVisitor.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaSYCL.cpp
A clang/test/SemaSYCL/sycl-kernel-param-restrictions.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/SubobjectVisitorTest.cpp
Log Message:
-----------
[clang][SYCL] Diagnose reference kernel parameters (#192957)
Per SYCL 2020 spec: Reference types are not trivially copyable, so they
may not be passed as kernel parameters.
This PR adds infrastructure for kernel object visiting and implements
diagnostics for reference kernel parameters.
The infrastructure will be also used for other kernel parameter
restrictions and functional code transformations that will be done in
separate PRs.
Assisted by: claude in unit test preparation
---------
Co-authored-by: Tom Honermann <tom at honermann.net>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list