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 79c4b72 commit 5a33536Copy full SHA for 5a33536
clang/lib/Driver/ToolChains/SYCL.cpp
@@ -31,7 +31,7 @@ void SYCLInstallationDetector::addSYCLIncludeArgs(
31
32
// Unsupported options for SYCL device compilation.
33
static ArrayRef<OptSpecifier> getUnsupportedOpts() {
34
- static std::vector<OptSpecifier> UnsupportedOpts = {
+ static constexpr OptSpecifier UnsupportedOpts[] = {
35
options::OPT_fsanitize_EQ, // -fsanitize
36
options::OPT_fcf_protection_EQ, // -fcf-protection
37
options::OPT_fprofile_generate,
0 commit comments