[all-commits] [llvm/llvm-project] 0d0628: [OpenCL] C++ for OpenCL version 2021 introduced to...

Justas Janickas via All-commits all-commits at lists.llvm.org
Wed Aug 18 02:15:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d0628b2d213a43f80e4967d83b905c6d2211651
      https://github.com/llvm/llvm-project/commit/0d0628b2d213a43f80e4967d83b905c6d2211651
  Author: Justas Janickas <Justas.Janickas at arm.com>
  Date:   2021-08-18 (Wed, 18 Aug 2021)

  Changed paths:
    M clang/include/clang/Basic/LangStandards.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Driver/autocomplete.c
    M clang/test/Driver/unknown-std.cl
    M clang/test/Frontend/stdlang.c

  Log Message:
  -----------
  [OpenCL] C++ for OpenCL version 2021 introduced to command line.

Introduces language standard `lang_openclcpp2021` and allows
`clc++2021` as a version flag for `-cl-std` in command line.
Defines macros related to C++ for OpenCL version 2021.

C++ for OpenCL version 2021 has been proposed in an RFC:
https://lists.llvm.org/pipermail/cfe-dev/2021-August/068593.html

Differential Revision: https://reviews.llvm.org/D108038




More information about the All-commits mailing list