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
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 4 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Frontend/CompilerInvocation.cpp 14 additions, 3 deletionslib/Frontend/CompilerInvocation.cpp
- lib/Sema/DeclSpec.cpp 11 additions, 3 deletionslib/Sema/DeclSpec.cpp
- lib/Sema/SemaDecl.cpp 17 additions, 0 deletionslib/Sema/SemaDecl.cpp
- test/SemaOpenCL/storageclass.cl 12 additions, 0 deletionstest/SemaOpenCL/storageclass.cl
Loading
Please register or sign in to comment