]> granicus.if.org Git - clang/commit
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)
commit98f988dc1bea127fbc2db76d9ffafdcf5f4435e4
tree5be538ed53df7bd7b42cebf9f4fe8ece462e369a
parente702ff302bdb3c53a252b0bcd2deab72fdee274f
Add a diagnostic for an OpenCL kernel with a pointer pointer argument.
Also refactor the surrounding code a little.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173791 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaOpenCL/invalid-kernel.cl [new file with mode: 0644]