]> granicus.if.org Git - clang/commit
Do not allow functions or kernels called 'main' in OpenCL.
authorJoey Gouly <joey.gouly@arm.com>
Tue, 5 Nov 2013 12:30:39 +0000 (12:30 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Tue, 5 Nov 2013 12:30:39 +0000 (12:30 +0000)
commitc879fe57330faa87ac22f39ec6f37d992db9790f
tree0a947f29adac70ad79e1c896fae037bd34260410
parenta72009d27cfd80657dfc701d98a6f74c5378cfd4
Do not allow functions or kernels called 'main' in OpenCL.

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