]> granicus.if.org Git - clang/commit
[OpenCL] Generic address space has been added in OpenCL v2.0.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 26 Nov 2014 14:10:06 +0000 (14:10 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Wed, 26 Nov 2014 14:10:06 +0000 (14:10 +0000)
commit08c258670c7e3fdeea8e46f0759f65c65c85d115
treed8a9eb6eb48f0a869204f19acc298d503debfddf
parent572143c0e038397c63b32e39d4e1975c281bd27c
[OpenCL] Generic address space has been added in OpenCL v2.0.

To support it in the frontend, the following has been added:
- generic address space type attribute;
- documentation for the OpenCL address space attributes;
- parsing of __generic(generic) keyword;
- test code for the parser and diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222831 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/AddressSpaces.h
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/TokenKinds.def
lib/AST/ASTContext.cpp
lib/AST/TypePrinter.cpp
lib/Basic/Targets.cpp
lib/Parse/ParseDecl.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaType.cpp