summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/AddressSpaces.h
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2014-11-26 14:10:06 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2014-11-26 14:10:06 +0000
commit08c258670c7e3fdeea8e46f0759f65c65c85d115 (patch)
treed8a9eb6eb48f0a869204f19acc298d503debfddf /include/clang/Basic/AddressSpaces.h
parent572143c0e038397c63b32e39d4e1975c281bd27c (diff)
[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
Diffstat (limited to 'include/clang/Basic/AddressSpaces.h')
-rw-r--r--include/clang/Basic/AddressSpaces.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/AddressSpaces.h b/include/clang/Basic/AddressSpaces.h
index 4b1cea50f8..8dd75660c6 100644
--- a/include/clang/Basic/AddressSpaces.h
+++ b/include/clang/Basic/AddressSpaces.h
@@ -30,6 +30,7 @@ enum ID {
opencl_global = Offset,
opencl_local,
opencl_constant,
+ opencl_generic,
cuda_device,
cuda_constant,