[PATCH] D106266: [C++4OpenCL] Add run line standard aliases clc++1.0 and CLC++1.0

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 19 14:56:40 PDT 2021


Anastasia added inline comments.


================
Comment at: clang/include/clang/Basic/LangStandards.def:187
              Digraphs | HexFloat | OpenCL)
+LANGSTANDARD_ALIAS_DEPR(openclcpp10, "clc++")
 
----------------
I am not sure we should move it into the deprecated category yet... for now let's just use `LANGSTANDARD_ALIAS`.


================
Comment at: clang/test/Driver/unknown-std.cl:14
 // CHECK-NEXT: note: use 'cl3.0' for 'OpenCL 3.0' standard
-// CHECK-NEXT: note: use 'clc++' for 'C++ for OpenCL' standard
+// CHECK-NEXT: note: use 'clc++1.0' for 'C++ for OpenCL 1.0' standard
 
----------------
does it not print `clc++` anymore?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106266



More information about the cfe-commits mailing list