Skip to content

Commit 40beb9b

Browse files
[lldb] Handle clang::Language::CIR (#86234)
commit e66b670 Author: Nathan Lanza <[email protected]> Date: Thu Mar 21 19:53:48 2024 -0400 triggers: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:478:16: error: enumeration value 'CIR' not handled in switch [-Werror,-Wswitch] This patch teaches lldb to handle clang::Language::CIR the same way as clang::Language::LLVM_IR.
1 parent 4d7f28a commit 40beb9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ static void ParseLangArgs(LangOptions &Opts, InputKind IK, const char *triple) {
477477
// Based on the base language, pick one.
478478
switch (IK.getLanguage()) {
479479
case clang::Language::Unknown:
480+
case clang::Language::CIR:
480481
case clang::Language::LLVM_IR:
481482
case clang::Language::RenderScript:
482483
llvm_unreachable("Invalid input kind!");

0 commit comments

Comments
 (0)