Add a diagnostic for an OpenCL kernel with a pointer pointer argument.
authorJoey Gouly <joey.gouly@arm.com>
Tue, 29 Jan 2013 10:54:06 +0000 (10:54 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Tue, 29 Jan 2013 10:54:06 +0000 (10:54 +0000)
commit39989dadd3cf3a82602c78a7e9d8ce535ab97017
tree940fbdde6e0fed0c515d5cc42467f2b7319e7e6b
parent064697ca065e0babf6cd6586eeff09ff13e9034f
Add a diagnostic for an OpenCL kernel with a pointer pointer argument.
Also refactor the surrounding code a little.

llvm-svn: 173791
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaOpenCL/invalid-kernel.cl [new file with mode: 0644]