We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f56d6 commit 036ef0aCopy full SHA for 036ef0a
clang/lib/Basic/Version.cpp
@@ -128,7 +128,7 @@ getSYCLVersionMacros(const LangOptions &LangOpts) {
128
if (LangOpts.getSYCLVersion() == LangOptions::SYCL_2017)
129
return {{"CL_SYCL_LANGUAGE_VERSION", "121"},
130
{"SYCL_LANGUAGE_VERSION", "201707"}};
131
- else if (LangOpts.getSYCLVersion() == LangOptions::SYCL_2020)
+ if (LangOpts.getSYCLVersion() == LangOptions::SYCL_2020)
132
return {{"SYCL_LANGUAGE_VERSION", "202001"}};
133
llvm_unreachable("SYCL standard should be set");
134
}
0 commit comments