[PATCH] D71005: [AST] Enable expression of OpenCL language address spaces an attribute

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 05:11:36 PST 2019


Anastasia added inline comments.


================
Comment at: clang/include/clang/Basic/Attr.td:1123
 def OpenCLPrivateAddressSpace : TypeAttr {
-  let Spellings = [Keyword<"__private">, Keyword<"private">];
+  let Spellings = [Keyword<"__private">, Keyword<"private">, Clang<"ocl_private">];
   let Documentation = [OpenCLAddressSpacePrivateDocs];
----------------
We don't really use ocl prefix for opencl currently? Can it be opencl_private and etc? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71005/new/

https://reviews.llvm.org/D71005





More information about the cfe-commits mailing list