llvm-project/clang/test
Ruyman bd97704eaa [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

Signed-off-by: Alexey Bader <alexey.bader@intel.com>
2020-02-27 15:08:42 +03:00
..
ARCMT
AST [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
ASTMerge
Analysis [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03: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 [clang,ARM,MVE] Remove redundant #includes in test file. 2020-02-27 09:39:35 +00:00
CodeGenCUDA Make __builtin_amdgcn_dispatch_ptr dereferenceable and align at 4 2020-02-25 13:58:20 -05:00
CodeGenCXX Revert "Devirtualize a call on alloca without waiting for post inline cleanup and next" 2020-02-27 15:58:39 +01:00
CodeGenCoroutines [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
CodeGenHIP Don't dump IR output from this test to stdout. 2020-01-16 19:19:45 -08:00
CodeGenObjC [ubsan] Omit return value check when return block is unreachable 2020-02-06 10:24:03 -08:00
CodeGenObjCXX [clang] Annotating C++'s `operator new` with more attributes 2020-02-26 01:37:17 +03:00
CodeGenOpenCL Make __builtin_amdgcn_dispatch_ptr dereferenceable and align at 4 2020-02-25 13:58:20 -05:00
CodeGenOpenCLCXX
Coverage
CoverageMapping
Driver [SYCL] Driver option to select SYCL version 2020-02-27 15:08:42 +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-02-27 15:08:42 +03:00
Headers Revert "PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer." 2020-01-20 16:34: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 Revert "make -fmodules-codegen and -fmodules-debuginfo work also with PCHs" 2020-02-27 14:33:43 +01:00
OpenMP [OpenMP] Fix the test by generating output file in temporary directory 2020-02-26 14:07:13 +01:00
PCH Revert "make -fmodules-codegen and -fmodules-debuginfo work also with PCHs" 2020-02-27 14:33:43 +01:00
Parser Support output constraints on "asm goto" 2020-02-24 18:51:29 -08:00
Preprocessor [SYCL] Driver option to select SYCL version 2020-02-27 15:08:42 +03:00
Profile
Refactor
Rewriter
Sema Check args passed to __builtin_frame_address and __builtin_return_address. 2020-02-25 12:47:14 -08:00
SemaCUDA Revert "[CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese" 2020-02-18 14:45:34 -05:00
SemaCXX PR44978: Accept as an extension some cases where destructor name lookup 2020-02-26 14:55:31 -08:00
SemaObjC [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00: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-02-27 15:08:42 +03:00
SemaTemplate [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
TableGen
Templight
Tooling
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 [Clang][Driver] Re-use the calling process instead of creating a new process for the cc1 invocation 2020-01-13 10:40:18 -05:00
TestRunner.sh
cxx-sections.data
lit.cfg.py
lit.site.cfg.py.in Fix typo in clang lit config 2020-02-26 10:37:04 +01:00
make_test_dirs.pl