forked from OSchip/llvm-project
[lldb][NFC] Fix warning about missing switch cases
These types were recently added in D62960 but it seems the patch didn't consider LLDB which causes a bunch of compiler warnings about missing enum values. It seems this feature isn't fully implemented yet, so I don't think we can write any test for this. For now lets just add the missing types to our usual list of unsupported types. llvm-svn: 368424
This commit is contained in:
parent
01eb869114
commit
339b5d1ac2
|
@ -5258,6 +5258,20 @@ lldb::Encoding ClangASTContext::GetEncoding(lldb::opaque_compiler_type_t type,
|
|||
case clang::BuiltinType::OCLIntelSubgroupAVCImeSingleRefStreamin:
|
||||
case clang::BuiltinType::OCLIntelSubgroupAVCImeDualRefStreamin:
|
||||
break;
|
||||
|
||||
case clang::BuiltinType::SveBool:
|
||||
case clang::BuiltinType::SveInt8:
|
||||
case clang::BuiltinType::SveInt16:
|
||||
case clang::BuiltinType::SveInt32:
|
||||
case clang::BuiltinType::SveInt64:
|
||||
case clang::BuiltinType::SveUint8:
|
||||
case clang::BuiltinType::SveUint16:
|
||||
case clang::BuiltinType::SveUint32:
|
||||
case clang::BuiltinType::SveUint64:
|
||||
case clang::BuiltinType::SveFloat16:
|
||||
case clang::BuiltinType::SveFloat32:
|
||||
case clang::BuiltinType::SveFloat64:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
// All pointer types are represented as unsigned integer encodings. We may
|
||||
|
|
Loading…
Reference in New Issue