]> granicus.if.org Git - clang/commit
Extend the support for cl-std to include 1.2.
authorTanya Lattner <tonic@nondot.org>
Tue, 19 Jun 2012 23:09:52 +0000 (23:09 +0000)
committerTanya Lattner <tonic@nondot.org>
Tue, 19 Jun 2012 23:09:52 +0000 (23:09 +0000)
commit5e94d6fa2e1d5ca606e060406adee13b96849f2a
tree161ade880d818e72ce228288eec6eaeadc5f1bcf
parentdd3284b17829adfd542ecf4a7b4423dce1d7502b
Extend the support for cl-std to include 1.2.
Add error checking for the static qualifier which is now allowed in certain situations for OpenCL 1.2. Use the CL version to turn on this feature.
Added test case for 1.2 static storage class feature.

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