From 08c258670c7e3fdeea8e46f0759f65c65c85d115 Mon Sep 17 00:00:00 2001 From: Anastasia Stulova Date: Wed, 26 Nov 2014 14:10:06 +0000 Subject: [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 | 1 + 1 file changed, 1 insertion(+) (limited to 'include/clang/Basic/AddressSpaces.h') 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, -- cgit v1.2.3