[cfe-dev] [OpenCL patch] kernel attributes implementation

Anton Lokhmotov Anton.Lokhmotov at arm.com
Wed Jan 4 08:46:32 PST 2012


Hi Guy,

We've done the merge (including your most recent test using regular
expressions).  Please review if anything is missing.

I don't quite understand this change (in lib/Sema/SemaType.cpp):

+      } else if (S.getLangOptions().OpenCL) {
+        S.Diag(DeclLoc, diag::err_missing_type_specifier_opencl)
+          << DS.getSourceRange();
+        declarator.setInvalidType(true);

Could you please explain how it relates to the kernel attributes?

Cheers,
Anton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_attributes.patch
Type: application/octet-stream
Size: 20555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120104/c719d5a5/attachment.obj>


More information about the cfe-dev mailing list