[Lldb-commits] [lldb] 7d21f57 - [lldb] Fix a warning
Kazu Hirata via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 14 10:56:28 PDT 2023
Author: Kazu Hirata
Date: 2023-06-14T10:56:22-07:00
New Revision: 7d21f5714e5a040f121fa08648c748073467db82
URL: https://github.com/llvm/llvm-project/commit/7d21f5714e5a040f121fa08648c748073467db82
DIFF: https://github.com/llvm/llvm-project/commit/7d21f5714e5a040f121fa08648c748073467db82.diff
LOG: [lldb] Fix a warning
This patch fixes:
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4843:13:
error: 225 enumeration values not handled in switch: 'RvvInt8mf8x2',
'RvvInt8mf8x3', 'RvvInt8mf8x4'... [-Werror,-Wswitch]
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 6506f118f8c65..15c9729c22cfb 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -5107,7 +5107,232 @@ lldb::Encoding TypeSystemClang::GetEncoding(lldb::opaque_compiler_type_t type,
case clang::BuiltinType::RvvBool16:
case clang::BuiltinType::RvvBool32:
case clang::BuiltinType::RvvBool64:
+ case clang::BuiltinType::RvvInt8mf8x2:
+ case clang::BuiltinType::RvvInt8mf8x3:
+ case clang::BuiltinType::RvvInt8mf8x4:
+ case clang::BuiltinType::RvvInt8mf8x5:
+ case clang::BuiltinType::RvvInt8mf8x6:
+ case clang::BuiltinType::RvvInt8mf8x7:
+ case clang::BuiltinType::RvvInt8mf8x8:
+ case clang::BuiltinType::RvvInt8mf4x2:
+ case clang::BuiltinType::RvvInt8mf4x3:
+ case clang::BuiltinType::RvvInt8mf4x4:
+ case clang::BuiltinType::RvvInt8mf4x5:
+ case clang::BuiltinType::RvvInt8mf4x6:
+ case clang::BuiltinType::RvvInt8mf4x7:
+ case clang::BuiltinType::RvvInt8mf4x8:
+ case clang::BuiltinType::RvvInt8mf2x2:
+ case clang::BuiltinType::RvvInt8mf2x3:
+ case clang::BuiltinType::RvvInt8mf2x4:
+ case clang::BuiltinType::RvvInt8mf2x5:
+ case clang::BuiltinType::RvvInt8mf2x6:
+ case clang::BuiltinType::RvvInt8mf2x7:
+ case clang::BuiltinType::RvvInt8mf2x8:
+ case clang::BuiltinType::RvvInt8m1x2:
+ case clang::BuiltinType::RvvInt8m1x3:
+ case clang::BuiltinType::RvvInt8m1x4:
+ case clang::BuiltinType::RvvInt8m1x5:
+ case clang::BuiltinType::RvvInt8m1x6:
+ case clang::BuiltinType::RvvInt8m1x7:
+ case clang::BuiltinType::RvvInt8m1x8:
+ case clang::BuiltinType::RvvInt8m2x2:
+ case clang::BuiltinType::RvvInt8m2x3:
+ case clang::BuiltinType::RvvInt8m2x4:
+ case clang::BuiltinType::RvvInt8m4x2:
+ case clang::BuiltinType::RvvUint8mf8x2:
+ case clang::BuiltinType::RvvUint8mf8x3:
+ case clang::BuiltinType::RvvUint8mf8x4:
+ case clang::BuiltinType::RvvUint8mf8x5:
+ case clang::BuiltinType::RvvUint8mf8x6:
+ case clang::BuiltinType::RvvUint8mf8x7:
+ case clang::BuiltinType::RvvUint8mf8x8:
+ case clang::BuiltinType::RvvUint8mf4x2:
+ case clang::BuiltinType::RvvUint8mf4x3:
+ case clang::BuiltinType::RvvUint8mf4x4:
+ case clang::BuiltinType::RvvUint8mf4x5:
+ case clang::BuiltinType::RvvUint8mf4x6:
+ case clang::BuiltinType::RvvUint8mf4x7:
+ case clang::BuiltinType::RvvUint8mf4x8:
+ case clang::BuiltinType::RvvUint8mf2x2:
+ case clang::BuiltinType::RvvUint8mf2x3:
+ case clang::BuiltinType::RvvUint8mf2x4:
+ case clang::BuiltinType::RvvUint8mf2x5:
+ case clang::BuiltinType::RvvUint8mf2x6:
+ case clang::BuiltinType::RvvUint8mf2x7:
+ case clang::BuiltinType::RvvUint8mf2x8:
+ case clang::BuiltinType::RvvUint8m1x2:
+ case clang::BuiltinType::RvvUint8m1x3:
+ case clang::BuiltinType::RvvUint8m1x4:
+ case clang::BuiltinType::RvvUint8m1x5:
+ case clang::BuiltinType::RvvUint8m1x6:
+ case clang::BuiltinType::RvvUint8m1x7:
+ case clang::BuiltinType::RvvUint8m1x8:
+ case clang::BuiltinType::RvvUint8m2x2:
+ case clang::BuiltinType::RvvUint8m2x3:
+ case clang::BuiltinType::RvvUint8m2x4:
+ case clang::BuiltinType::RvvUint8m4x2:
+ case clang::BuiltinType::RvvInt16mf4x2:
+ case clang::BuiltinType::RvvInt16mf4x3:
+ case clang::BuiltinType::RvvInt16mf4x4:
+ case clang::BuiltinType::RvvInt16mf4x5:
+ case clang::BuiltinType::RvvInt16mf4x6:
+ case clang::BuiltinType::RvvInt16mf4x7:
+ case clang::BuiltinType::RvvInt16mf4x8:
+ case clang::BuiltinType::RvvInt16mf2x2:
+ case clang::BuiltinType::RvvInt16mf2x3:
+ case clang::BuiltinType::RvvInt16mf2x4:
+ case clang::BuiltinType::RvvInt16mf2x5:
+ case clang::BuiltinType::RvvInt16mf2x6:
+ case clang::BuiltinType::RvvInt16mf2x7:
+ case clang::BuiltinType::RvvInt16mf2x8:
+ case clang::BuiltinType::RvvInt16m1x2:
+ case clang::BuiltinType::RvvInt16m1x3:
+ case clang::BuiltinType::RvvInt16m1x4:
+ case clang::BuiltinType::RvvInt16m1x5:
+ case clang::BuiltinType::RvvInt16m1x6:
+ case clang::BuiltinType::RvvInt16m1x7:
+ case clang::BuiltinType::RvvInt16m1x8:
+ case clang::BuiltinType::RvvInt16m2x2:
+ case clang::BuiltinType::RvvInt16m2x3:
+ case clang::BuiltinType::RvvInt16m2x4:
+ case clang::BuiltinType::RvvInt16m4x2:
+ case clang::BuiltinType::RvvUint16mf4x2:
+ case clang::BuiltinType::RvvUint16mf4x3:
+ case clang::BuiltinType::RvvUint16mf4x4:
+ case clang::BuiltinType::RvvUint16mf4x5:
+ case clang::BuiltinType::RvvUint16mf4x6:
+ case clang::BuiltinType::RvvUint16mf4x7:
+ case clang::BuiltinType::RvvUint16mf4x8:
+ case clang::BuiltinType::RvvUint16mf2x2:
+ case clang::BuiltinType::RvvUint16mf2x3:
+ case clang::BuiltinType::RvvUint16mf2x4:
+ case clang::BuiltinType::RvvUint16mf2x5:
+ case clang::BuiltinType::RvvUint16mf2x6:
+ case clang::BuiltinType::RvvUint16mf2x7:
+ case clang::BuiltinType::RvvUint16mf2x8:
+ case clang::BuiltinType::RvvUint16m1x2:
+ case clang::BuiltinType::RvvUint16m1x3:
+ case clang::BuiltinType::RvvUint16m1x4:
+ case clang::BuiltinType::RvvUint16m1x5:
+ case clang::BuiltinType::RvvUint16m1x6:
+ case clang::BuiltinType::RvvUint16m1x7:
+ case clang::BuiltinType::RvvUint16m1x8:
+ case clang::BuiltinType::RvvUint16m2x2:
+ case clang::BuiltinType::RvvUint16m2x3:
+ case clang::BuiltinType::RvvUint16m2x4:
+ case clang::BuiltinType::RvvUint16m4x2:
+ case clang::BuiltinType::RvvInt32mf2x2:
+ case clang::BuiltinType::RvvInt32mf2x3:
+ case clang::BuiltinType::RvvInt32mf2x4:
+ case clang::BuiltinType::RvvInt32mf2x5:
+ case clang::BuiltinType::RvvInt32mf2x6:
+ case clang::BuiltinType::RvvInt32mf2x7:
+ case clang::BuiltinType::RvvInt32mf2x8:
case clang::BuiltinType::RvvInt32m1x2:
+ case clang::BuiltinType::RvvInt32m1x3:
+ case clang::BuiltinType::RvvInt32m1x4:
+ case clang::BuiltinType::RvvInt32m1x5:
+ case clang::BuiltinType::RvvInt32m1x6:
+ case clang::BuiltinType::RvvInt32m1x7:
+ case clang::BuiltinType::RvvInt32m1x8:
+ case clang::BuiltinType::RvvInt32m2x2:
+ case clang::BuiltinType::RvvInt32m2x3:
+ case clang::BuiltinType::RvvInt32m2x4:
+ case clang::BuiltinType::RvvInt32m4x2:
+ case clang::BuiltinType::RvvUint32mf2x2:
+ case clang::BuiltinType::RvvUint32mf2x3:
+ case clang::BuiltinType::RvvUint32mf2x4:
+ case clang::BuiltinType::RvvUint32mf2x5:
+ case clang::BuiltinType::RvvUint32mf2x6:
+ case clang::BuiltinType::RvvUint32mf2x7:
+ case clang::BuiltinType::RvvUint32mf2x8:
+ case clang::BuiltinType::RvvUint32m1x2:
+ case clang::BuiltinType::RvvUint32m1x3:
+ case clang::BuiltinType::RvvUint32m1x4:
+ case clang::BuiltinType::RvvUint32m1x5:
+ case clang::BuiltinType::RvvUint32m1x6:
+ case clang::BuiltinType::RvvUint32m1x7:
+ case clang::BuiltinType::RvvUint32m1x8:
+ case clang::BuiltinType::RvvUint32m2x2:
+ case clang::BuiltinType::RvvUint32m2x3:
+ case clang::BuiltinType::RvvUint32m2x4:
+ case clang::BuiltinType::RvvUint32m4x2:
+ case clang::BuiltinType::RvvInt64m1x2:
+ case clang::BuiltinType::RvvInt64m1x3:
+ case clang::BuiltinType::RvvInt64m1x4:
+ case clang::BuiltinType::RvvInt64m1x5:
+ case clang::BuiltinType::RvvInt64m1x6:
+ case clang::BuiltinType::RvvInt64m1x7:
+ case clang::BuiltinType::RvvInt64m1x8:
+ case clang::BuiltinType::RvvInt64m2x2:
+ case clang::BuiltinType::RvvInt64m2x3:
+ case clang::BuiltinType::RvvInt64m2x4:
+ case clang::BuiltinType::RvvInt64m4x2:
+ case clang::BuiltinType::RvvUint64m1x2:
+ case clang::BuiltinType::RvvUint64m1x3:
+ case clang::BuiltinType::RvvUint64m1x4:
+ case clang::BuiltinType::RvvUint64m1x5:
+ case clang::BuiltinType::RvvUint64m1x6:
+ case clang::BuiltinType::RvvUint64m1x7:
+ case clang::BuiltinType::RvvUint64m1x8:
+ case clang::BuiltinType::RvvUint64m2x2:
+ case clang::BuiltinType::RvvUint64m2x3:
+ case clang::BuiltinType::RvvUint64m2x4:
+ case clang::BuiltinType::RvvUint64m4x2:
+ case clang::BuiltinType::RvvFloat16mf4x2:
+ case clang::BuiltinType::RvvFloat16mf4x3:
+ case clang::BuiltinType::RvvFloat16mf4x4:
+ case clang::BuiltinType::RvvFloat16mf4x5:
+ case clang::BuiltinType::RvvFloat16mf4x6:
+ case clang::BuiltinType::RvvFloat16mf4x7:
+ case clang::BuiltinType::RvvFloat16mf4x8:
+ case clang::BuiltinType::RvvFloat16mf2x2:
+ case clang::BuiltinType::RvvFloat16mf2x3:
+ case clang::BuiltinType::RvvFloat16mf2x4:
+ case clang::BuiltinType::RvvFloat16mf2x5:
+ case clang::BuiltinType::RvvFloat16mf2x6:
+ case clang::BuiltinType::RvvFloat16mf2x7:
+ case clang::BuiltinType::RvvFloat16mf2x8:
+ case clang::BuiltinType::RvvFloat16m1x2:
+ case clang::BuiltinType::RvvFloat16m1x3:
+ case clang::BuiltinType::RvvFloat16m1x4:
+ case clang::BuiltinType::RvvFloat16m1x5:
+ case clang::BuiltinType::RvvFloat16m1x6:
+ case clang::BuiltinType::RvvFloat16m1x7:
+ case clang::BuiltinType::RvvFloat16m1x8:
+ case clang::BuiltinType::RvvFloat16m2x2:
+ case clang::BuiltinType::RvvFloat16m2x3:
+ case clang::BuiltinType::RvvFloat16m2x4:
+ case clang::BuiltinType::RvvFloat16m4x2:
+ case clang::BuiltinType::RvvFloat32mf2x2:
+ case clang::BuiltinType::RvvFloat32mf2x3:
+ case clang::BuiltinType::RvvFloat32mf2x4:
+ case clang::BuiltinType::RvvFloat32mf2x5:
+ case clang::BuiltinType::RvvFloat32mf2x6:
+ case clang::BuiltinType::RvvFloat32mf2x7:
+ case clang::BuiltinType::RvvFloat32mf2x8:
+ case clang::BuiltinType::RvvFloat32m1x2:
+ case clang::BuiltinType::RvvFloat32m1x3:
+ case clang::BuiltinType::RvvFloat32m1x4:
+ case clang::BuiltinType::RvvFloat32m1x5:
+ case clang::BuiltinType::RvvFloat32m1x6:
+ case clang::BuiltinType::RvvFloat32m1x7:
+ case clang::BuiltinType::RvvFloat32m1x8:
+ case clang::BuiltinType::RvvFloat32m2x2:
+ case clang::BuiltinType::RvvFloat32m2x3:
+ case clang::BuiltinType::RvvFloat32m2x4:
+ case clang::BuiltinType::RvvFloat32m4x2:
+ case clang::BuiltinType::RvvFloat64m1x2:
+ case clang::BuiltinType::RvvFloat64m1x3:
+ case clang::BuiltinType::RvvFloat64m1x4:
+ case clang::BuiltinType::RvvFloat64m1x5:
+ case clang::BuiltinType::RvvFloat64m1x6:
+ case clang::BuiltinType::RvvFloat64m1x7:
+ case clang::BuiltinType::RvvFloat64m1x8:
+ case clang::BuiltinType::RvvFloat64m2x2:
+ case clang::BuiltinType::RvvFloat64m2x3:
+ case clang::BuiltinType::RvvFloat64m2x4:
+ case clang::BuiltinType::RvvFloat64m4x2:
break;
// WebAssembly builtin types.
More information about the lldb-commits
mailing list