[Lldb-commits] [lldb] 7fa6b9f - [lldb] Silence compiler warning after fae0dfa6421ea6c02f86ba7292fa782e1e2b69d1
Benjamin Kramer via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 6 03:31:39 PDT 2021
Author: Benjamin Kramer
Date: 2021-09-06T12:30:47+02:00
New Revision: 7fa6b9f61058ff4839eb55d7fe8ec2f1e2493d5e
URL: https://github.com/llvm/llvm-project/commit/7fa6b9f61058ff4839eb55d7fe8ec2f1e2493d5e
DIFF: https://github.com/llvm/llvm-project/commit/7fa6b9f61058ff4839eb55d7fe8ec2f1e2493d5e.diff
LOG: [lldb] Silence compiler warning after fae0dfa6421ea6c02f86ba7292fa782e1e2b69d1
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4765:13: warning: enumeration value 'Ibm128' not handled in switch [-Wswitch]
switch (llvm::cast<clang::BuiltinType>(qual_type)->getKind()) {
^
Added:
Modified:
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
index 669ffdb95f8a..dbf11dcbd3ca 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -4824,6 +4824,7 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
case clang::BuiltinType::Double:
case clang::BuiltinType::LongDouble:
case clang::BuiltinType::BFloat16:
+ case clang::BuiltinType::Ibm128:
return lldb::eEncodingIEEE754;
case clang::BuiltinType::ObjCClass:
More information about the lldb-commits
mailing list