]> granicus.if.org Git - clang/commit
[OpenCL] Produce an error when the work group and vec type hint attributes
authorJoey Gouly <joey.gouly@arm.com>
Fri, 13 Dec 2013 16:15:28 +0000 (16:15 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Fri, 13 Dec 2013 16:15:28 +0000 (16:15 +0000)
commit1366f26a78a293be5054f32001ce73a4db4a82f8
treeff8aaca3aa325ebf79003f3eaab0615cdbfbc55b
parent90c7cb42812845f0bd56b1a124c96de10316526d
[OpenCL] Produce an error when the work group and vec type hint attributes
are used on non-kernel functions.

Reviewed by Aaron over IRC!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197243 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/SemaOpenCL/invalid-kernel-attrs.cl