[all-commits] [llvm/llvm-project] 4f844e: [OpenCL] No need to check array of struct for kern...

Jiefeng Wang via All-commits all-commits at lists.llvm.org
Fri May 23 01:38:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f844e7881d86971cd31401d02a418235d18f456
      https://github.com/llvm/llvm-project/commit/4f844e7881d86971cd31401d02a418235d18f456
  Author: Jiefeng Wang <jiefwo at gmail.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp

  Log Message:
  -----------
  [OpenCL] No need to check array of struct for kernel arguments (#138894)

Since arrays decay into pointers, no need to check them for arguments.
This commit reverts part of the changes from the commit "[OpenCL] Check
for invalid kernel arguments in array types"
3b238ed6626983beb238b95eada4172184fb2d29.



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