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 85582c4 commit 30a54f3Copy full SHA for 30a54f3
clang/lib/CodeGen/BackendUtil.cpp
@@ -304,7 +304,7 @@ getCodeModel(const CodeGenOptions &CodeGenOpts) {
304
.Case("kernel", llvm::CodeModel::Kernel)
305
.Case("medium", llvm::CodeModel::Medium)
306
.Case("large", llvm::CodeModel::Large)
307
- .Case("default", ~1u)
+ .Cases("default", "", ~1u)
308
.Default(~0u);
309
assert(CodeModel != ~0u && "invalid code model!");
310
if (CodeModel == ~1u)
0 commit comments