llvm-project/clang/unittests/Frontend
Aaron Ballman c165a99a1b [SYCL] Rework the SYCL driver options
SYCL compilations initiated by the driver will spawn off one or more
frontend compilation jobs (one for device and one for host). This patch
reworks the driver options to make upstreaming this from the downstream
SYCL fork easier.

This patch introduces a language option to identify host executions
(SYCLIsHost) and a -cc1 frontend option to enable this mode. -fsycl and
-fno-sycl become driver-only options that are rejected when passed to
-cc1. This is because the frontend and beyond should be looking at
whether the user is doing a device or host compilation specifically.
Because the frontend should only ever be in one mode or the other,
-fsycl-is-device and -fsycl-is-host are mutually exclusive options.
2021-03-17 08:27:19 -04:00
..
ASTUnitTest.cpp [clang][Frontend] Add missing error handling 2020-10-22 14:14:19 -07:00
CMakeLists.txt [clang] Add an option for hiding line numbers in diagnostics 2020-11-05 16:10:18 +01:00
CodeGenActionTest.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
CompilerInstanceTest.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
CompilerInvocationTest.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
FixedPointString.cpp
FrontendActionTest.cpp Revert "[modules] Do not cache invalid state for modules that we attempted to load." 2020-03-10 10:59:26 -07:00
OutputStreamTest.cpp Frontend: Fix memory leak in CompilerInstance::setVerboseOutputStream 2021-01-26 14:57:23 -08:00
PCHPreambleTest.cpp Fix clang unnittest build with GCC 5 2020-01-29 10:30:36 +01:00
ParsedSourceLocationTest.cpp
TextDiagnosticTest.cpp Frontend: Migrate to FileEntryRef in TextDiagnosticTest, NFC 2020-12-11 17:06:28 -08:00