aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-02-04 10:33:28 -0800
committerKazu Hirata <kazu@google.com>2025-02-04 10:33:28 -0800
commit560e372555545542353a4b3a3d6bae82af2382f2 (patch)
treeaa06e3e968084e83964ab3ae3b75f17a2e10ec20 /clang/lib/Frontend/CompilerInvocation.cpp
parent3e436a8d18844c4e5bbac9c765573d61b2d29449 (diff)
downloadllvm-560e372555545542353a4b3a3d6bae82af2382f2.zip
llvm-560e372555545542353a4b3a3d6bae82af2382f2.tar.gz
llvm-560e372555545542353a4b3a3d6bae82af2382f2.tar.bz2
[Frontend] Fix the build
This patch fixes: clang/lib/Frontend/CompilerInvocation.cpp:3854:16: error: enumeration value 'Ver20' not handled in switch [-Werror,-Wswitch]
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}