llvm-project/clang/test
Ruyman 118b057f12 [SYCL] Driver option to select SYCL version
Summary:
User can select the version of SYCL the compiler will
use via the flag -sycl-std, similar to -cl-std.

The flag defines the LangOpts.SYCLVersion option to the
version of SYCL. The default value is undefined.
If driver is building SYCL code, flag is set to the default SYCL
version (1.2.1)

The preprocessor uses this variable to define CL_SYCL_LANGUAGE_VERSION macro,
which should be defined according to SYCL 1.2.1 standard.

Only valid value at this point for the flag is 1.2.1.

Co-Authored-By: David Wood <Q0KPU0H1YOEPHRY1R2SN5B5RL@david.davidtw.co>
Signed-off-by: Ruyman Reyes <ruyman@codeplay.com>

Subscribers: ebevhan, Anastasia, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72857
2020-03-07 18:28:54 +03:00
..
ARCMT
AST [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
ASTMerge
Analysis [analyzer] decode() a bytes object to make Python3 happy 2020-03-04 17:12:48 +00:00
CXX [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
ClangScanDeps [clang][clang-scan-deps] Aggregate the full dependency information. 2020-01-23 16:58:50 -08:00
CodeCompletion Another fix for 7d91633a2b 2020-02-19 17:15:11 -05:00
CodeGen Assume ieee behavior without denormal-fp-math attribute 2020-03-07 12:10:56 -05:00
CodeGenCUDA Assume ieee behavior without denormal-fp-math attribute 2020-03-07 12:10:56 -05:00
CodeGenCXX Revert "[Driver] Default to -fno-common for all targets" 2020-03-03 10:00:36 +00:00
CodeGenCoroutines [Coroutines][New pass manager] Move CoroElide pass to right position 2020-03-01 21:48:24 +08:00
CodeGenHIP Don't dump IR output from this test to stdout. 2020-01-16 19:19:45 -08:00
CodeGenObjC [CodeGen][ObjC] Extend lifetime of ObjC pointers passed to calls to 2020-03-06 16:46:50 -08:00
CodeGenObjCXX [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
CodeGenOpenCL Reapply "clang: Treat ieee mode as the default for denormal-fp-math" 2020-03-06 11:46:55 -08:00
CodeGenOpenCLCXX
Coverage
CoverageMapping Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
Driver [SYCL] Driver option to select SYCL version 2020-03-07 18:28:54 +03:00
FixIt [objc_direct] Small updates to help with adoption. 2020-02-16 16:32:41 -08:00
Format
Frontend [SYCL] Driver option to select SYCL version 2020-03-07 18:28:54 +03:00
Headers [clang][Headers] Use __has_builtin instead of _MSC_VER. 2020-03-06 13:48:09 -08:00
Import
Index [clang][Index] Fix the incomplete instantiations in libindex. 2020-02-20 14:42:30 +01:00
Integration
InterfaceStubs [clang][IFS][test] Temporary work around for in-process cc1 ASAN issues. 2020-01-21 22:56:20 -05:00
Layout
Lexer Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
Misc Use getLocation() in "too few/too many arguments" diagnostic 2020-02-18 11:23:17 -05:00
Modules [clang][Modules] Add -fsystem-module flag 2020-03-03 14:14:24 -08:00
OpenMP [OPENMP50]Add 'depobj' modifier in 'depend' clauses. 2020-03-06 11:44:57 -05:00
PCH Revert "[Driver] Default to -fno-common for all targets" 2020-03-03 10:00:36 +00:00
Parser Revert "[Driver] Default to -fno-common for all targets" 2020-03-03 10:00:36 +00:00
Preprocessor [SYCL] Driver option to select SYCL version 2020-03-07 18:28:54 +03:00
Profile Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
Refactor
Rewriter
Sema Comment parsing: Treat \ref as inline command 2020-03-05 19:44:34 +01:00
SemaCUDA Revert "[CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese" 2020-02-18 14:45:34 -05:00
SemaCXX PR45124: Don't leave behind pending cleanups when declaring implicit 2020-03-06 13:22:10 -08:00
SemaObjC [Sema] Look through OpaqueValueExpr when checking implicit conversions 2020-03-02 11:24:36 -08:00
SemaObjCXX [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
SemaOpenCL [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
SemaOpenCLCXX [OpenCL] Restrict addr space conversions in nested pointers 2020-02-07 12:04:35 +00:00
SemaSYCL [SYCL] Driver option to select SYCL version 2020-03-07 18:28:54 +03:00
SemaTemplate [Concepts] Add null check for TemplateTypeParmType::getDecl() in GetContainedInventedTypeParmVisitor 2020-03-06 19:32:10 +02:00
TableGen
Templight
Tooling [PowerPC] Delete PPCMachObjectWriter and powerpc{,64}-apple-darwin 2020-03-05 11:05:26 -08:00
Unit
VFS [VFS] More consistent support for Windows 2020-02-05 11:38:20 -08:00
clang-rename [clang-rename] Fix the failure rename test. 2020-02-11 10:07:00 +01:00
utils/update_cc_test_checks Move update_cc_test_checks.py tests to clang 2020-02-14 14:39:55 +00:00
.clang-format
CMakeLists.txt Revert abb00753 "build: reduce CMake handling for zlib" (PR44780) 2020-03-03 11:03:09 +01:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Quote a python executable path 2020-03-04 15:23:48 +00:00
lit.site.cfg.py.in Revert abb00753 "build: reduce CMake handling for zlib" (PR44780) 2020-03-03 11:03:09 +01:00
make_test_dirs.pl