From 560e372555545542353a4b3a3d6bae82af2382f2 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 4 Feb 2025 10:33:28 -0800 Subject: [Frontend] Fix the build This patch fixes: clang/lib/Frontend/CompilerInvocation.cpp:3854:16: error: enumeration value 'Ver20' not handled in switch [-Werror,-Wswitch] --- clang/lib/Frontend/CompilerInvocation.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 11fd6ab..95d3eac7 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -3888,6 +3888,9 @@ void CompilerInvocationBase::GenerateLangArgs(const LangOptions &Opts, case LangOptions::ClangABI::Ver19: GenerateArg(Consumer, OPT_fclang_abi_compat_EQ, "19.0"); break; + case LangOptions::ClangABI::Ver20: + GenerateArg(Consumer, OPT_fclang_abi_compat_EQ, "20.0"); + break; case LangOptions::ClangABI::Latest: break; } -- cgit v1.1