File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
clang/lib/Driver/ToolChains Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ void SYCLInstallationDetector::addSYCLIncludeArgs(
3030}
3131
3232// Unsupported options for SYCL device compilation.
33- static ArrayRef<OptSpecifier > getUnsupportedOpts () {
34- static constexpr OptSpecifier UnsupportedOpts[] = {
33+ static ArrayRef<options::ID > getUnsupportedOpts () {
34+ static constexpr options::ID UnsupportedOpts[] = {
3535 options::OPT_fsanitize_EQ, // -fsanitize
3636 options::OPT_fcf_protection_EQ, // -fcf-protection
3737 options::OPT_fprofile_generate,
@@ -52,7 +52,8 @@ static ArrayRef<OptSpecifier> getUnsupportedOpts() {
5252 options::OPT_fprofile_instr_use_EQ, // -fprofile-instr-use
5353 options::OPT_forder_file_instrumentation, // -forder-file-instrumentation
5454 options::OPT_fcs_profile_generate, // -fcs-profile-generate
55- options::OPT_fcs_profile_generate_EQ};
55+ options::OPT_fcs_profile_generate_EQ,
56+ };
5657 return UnsupportedOpts;
5758}
5859
You can’t perform that action at this time.
0 commit comments