]> granicus.if.org Git - clang/commit
Add OpenCL error that a kernel function must have void return type. Includes a test...
authorTanya Lattner <tonic@nondot.org>
Wed, 30 Jan 2013 19:48:52 +0000 (19:48 +0000)
committerTanya Lattner <tonic@nondot.org>
Wed, 30 Jan 2013 19:48:52 +0000 (19:48 +0000)
commit7564bcca9f2a56bdbde3c6788d3f09cca0d8e312
treeb28df49b7ce12df0c3065500850635e620833907
parent1b6b31db169b66fb2048012b0ec1550c22cc64f4
Add OpenCL error that a kernel function must have void return type. Includes a test case.

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