]> granicus.if.org Git - clang/commit
[OpenCL] Prohibit using reserve_id_t in program scope.
authorAlexey Bader <aleksey.bader@mail.ru>
Tue, 29 Nov 2016 10:21:40 +0000 (10:21 +0000)
committerAlexey Bader <aleksey.bader@mail.ru>
Tue, 29 Nov 2016 10:21:40 +0000 (10:21 +0000)
commit375cbe64311a29583bf5c41a966ddb4ed40ee63e
treee97ed8bd82852d0039811661d4b28eefdf22e826
parentb249b6434bd5d7ada87fc56aa4211d1f8041e88f
[OpenCL] Prohibit using reserve_id_t in program scope.

Patch by Egor Churaev (echuraev).

Reviewers: Anastasia

Subscribers: cfe-commits, yaxunl, bader

Differential Revision: https://reviews.llvm.org/D27099

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