Add an error to check that all program scope variables are in the constant address...
authorTanya Lattner <tonic@nondot.org>
Fri, 5 Apr 2013 20:14:50 +0000 (20:14 +0000)
committerTanya Lattner <tonic@nondot.org>
Fri, 5 Apr 2013 20:14:50 +0000 (20:14 +0000)
commit713eef4f7ca2bb26a1a1d39713ac167a397b65b3
treef9ff613110e298d0e35f617b655d8babec6504c3
parentb8055cbc9dde9d1386d85f1e6f0876cef1646c87
Add an error to check that all program scope variables are in the constant address space in OpenCL.

llvm-svn: 178906
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaOpenCL/event_t.cl
clang/test/SemaOpenCL/storageclass.cl
clang/unittests/AST/SourceLocationTest.cpp