[SYCL] Add clang front-end option to enable SYCL device compilation flow.
authorAlexey Bader <alexey.bader@intel.com>
Mon, 25 Feb 2019 11:48:48 +0000 (11:48 +0000)
committerAlexey Bader <alexey.bader@intel.com>
Mon, 25 Feb 2019 11:48:48 +0000 (11:48 +0000)
commit3f62fa69a7200821969c0a026bdbdfa268f8bb75
tree7bac1159fba0a14208859e14de814558d5678d54
parent478cd32bcb7accbbe956597252700e3ba2e25457
[SYCL] Add clang front-end option to enable SYCL device compilation flow.

Patch by Mariya Podchishchaeva <mariya.podchishchaeva@intel.com>

llvm-svn: 354773
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/CC1Options.td
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/Preprocessor/sycl-macro.cpp [new file with mode: 0644]