[OpenCL] Produce an error if an address space is used on the return
authorJoey Gouly <joey.gouly@gmail.com>
Mon, 6 Jan 2014 11:26:18 +0000 (11:26 +0000)
committerJoey Gouly <joey.gouly@gmail.com>
Mon, 6 Jan 2014 11:26:18 +0000 (11:26 +0000)
commit16cb99dd15834bcc0c857e0bbfb1c9b48a26d694
tree9c8c16901d364fef2ec86e195d49982cb729b47b
parent20b9966e5f6a7cc0e0d374492c2de1062888b156
[OpenCL] Produce an error if an address space is used on the return
type of a function.

llvm-svn: 198597
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaOpenCL/invalid-kernel.cl