Skip to content

Commit 5a33536

Browse files
authored
Update SYCL.cpp
1 parent 79c4b72 commit 5a33536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/ToolChains/SYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void SYCLInstallationDetector::addSYCLIncludeArgs(
3131

3232
// Unsupported options for SYCL device compilation.
3333
static ArrayRef<OptSpecifier> getUnsupportedOpts() {
34-
static std::vector<OptSpecifier> UnsupportedOpts = {
34+
static constexpr OptSpecifier UnsupportedOpts[] = {
3535
options::OPT_fsanitize_EQ, // -fsanitize
3636
options::OPT_fcf_protection_EQ, // -fcf-protection
3737
options::OPT_fprofile_generate,

0 commit comments

Comments
 (0)