[PATCH] D102261: Introduce SYCL 2020 mode

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 11 11:00:21 PDT 2021


erichkeane added a comment.

LGTM, but want others to look first.



================
Comment at: clang/lib/Frontend/InitPreprocessor.cpp:481
       Builder.defineMacro("CL_SYCL_LANGUAGE_VERSION", "121");
+      Builder.defineMacro("SYCL_LANGUAGE_VERSION", "201707");
+    } else if (LangOpts.getSYCLVersion() == LangOptions::SYCL_2020) {
----------------
This seems very related, but perhaps a part of a different patch?  I think I'm probably OK bringing this in during this patch, but it isn't strictly related to adding 2020 support.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102261



More information about the cfe-commits mailing list