Skip to content

Commit 8aa0959

Browse files
kazutakahirataIcohedron
authored andcommitted
[Frontend] Fix the build
This patch fixes: clang/lib/Frontend/CompilerInvocation.cpp:3854:16: error: enumeration value 'Ver20' not handled in switch [-Werror,-Wswitch]
1 parent afea3aa commit 8aa0959

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3888,6 +3888,9 @@ void CompilerInvocationBase::GenerateLangArgs(const LangOptions &Opts,
38883888
case LangOptions::ClangABI::Ver19:
38893889
GenerateArg(Consumer, OPT_fclang_abi_compat_EQ, "19.0");
38903890
break;
3891+
case LangOptions::ClangABI::Ver20:
3892+
GenerateArg(Consumer, OPT_fclang_abi_compat_EQ, "20.0");
3893+
break;
38913894
case LangOptions::ClangABI::Latest:
38923895
break;
38933896
}

0 commit comments

Comments
 (0)