[all-commits] [llvm/llvm-project] 638166: Introduce SYCL 2020 mode
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Tue May 18 07:34:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6381664580080f015bc0c2ec647853f697cf744a
https://github.com/llvm/llvm-project/commit/6381664580080f015bc0c2ec647853f697cf744a
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2021-05-18 (Tue, 18 May 2021)
Changed paths:
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/Driver/sycl.c
M clang/test/Preprocessor/sycl-macro.cpp
M clang/unittests/Frontend/CompilerInvocationTest.cpp
Log Message:
-----------
Introduce SYCL 2020 mode
Currently, we have support for SYCL 1.2.1 (also known as SYCL 2017).
This patch introduces the start of support for SYCL 2020 mode, which is
the latest SYCL standard available at (https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html).
This sets the default SYCL to be 2020 in the driver, and introduces the
notion of a "default" version (set to 2020) when cc1 is in SYCL mode
but there was no explicit -sycl-std= specified on the command line.
More information about the All-commits
mailing list