[PATCH] Error on illegal OpenCL kernel argument types

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jul 8 21:16:39 PDT 2013


  Partially address review comments. Remove Sema member, rename argument to parameter, combine parameter check function, and use diag::note_member_declared_here on structs with invalid types in them. Does not yet show the chain of fields that are problematic, just the lowest one. Also update event_t test for changed warning.

Hi rsmith,

http://llvm-reviews.chandlerc.com/D1052

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1052?vs=2588&id=2727#toc

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Sema/SemaDecl.cpp
  test/SemaOpenCL/event_t.cl
  test/SemaOpenCL/invalid-kernel-parameters.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1052.2.patch
Type: text/x-patch
Size: 11927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130708/beb71bf9/attachment.bin>


More information about the cfe-commits mailing list