[PATCH] D95778: [OpenCL] Introduce new language options for OpenCL keywords.

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 07:24:00 PST 2021


azabaznov added inline comments.


================
Comment at: clang/include/clang/Basic/LangOptions.def:218
 LANGOPT(OpenCLCPlusPlusVersion     , 32, 0, "C++ for OpenCL version")
+LANGOPT(OpenCLGenericKeyword, 1, 0, "OpenCL generic keyword")
+LANGOPT(OpenCLPipeKeyword   , 1, 0, "OpenCL pipe keyword")
----------------
Anastasia wrote:
> Normally we use just a name of the feature, so perhaps:
> 
> OpenCLGenericKeyword -> OpenCLGenericAddressSpace
> OpenCLPipeKeyword -> OpenCLPipe
Ok, will change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95778



More information about the cfe-commits mailing list