]> granicus.if.org Git - clang/commit
Add support for language-specific address spaces. On top of that,
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 Mar 2011 22:38:29 +0000 (22:38 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 Mar 2011 22:38:29 +0000 (22:38 +0000)
commit207f4d8543529221932af82836016a2ef066c917
treeeae7fb3e3d3510d05ea94fdbea4c868d19f49dc6
parent1761ce57d612be423f5ac323a2051fdcb46cefc5
Add support for language-specific address spaces.  On top of that,
add support for the OpenCL __private, __local, __constant and
__global address spaces, as well as the __read_only, _read_write and
__write_only image access specifiers.  Patch originally by ARM;
language-specific address space support by myself.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127915 91177308-0d34-0410-b5e6-96231b3b80d8
25 files changed:
include/clang/AST/ASTContext.h
include/clang/Basic/AddressSpaces.h [new file with mode: 0644]
include/clang/Basic/LangOptions.h
include/clang/Basic/OpenCL.h [new file with mode: 0644]
include/clang/Basic/TargetInfo.h
include/clang/Basic/TokenKinds.def
include/clang/Driver/CC1Options.td
include/clang/Parse/Parser.h
include/clang/Sema/AttributeList.h
lib/AST/ASTContext.cpp
lib/Basic/TargetInfo.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenTypes.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Parse/ParseDecl.cpp
lib/Sema/AttributeList.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
test/CodeGenOpenCL/address-spaces.cl [new file with mode: 0644]
test/Parser/opencl-image-access.cl [new file with mode: 0644]