Fix -Wswitch after introduction of clang;:Type::DependentVector in r337036

llvm-svn: 337063
This commit is contained in:
Fangrui Song 2018-07-13 22:40:40 +00:00
parent 899692e981
commit 8f28488594
1 changed files with 4 additions and 0 deletions

View File

@ -4166,6 +4166,8 @@ ClangASTContext::GetTypeClass(lldb::opaque_compiler_type_t type) {
return lldb::eTypeClassArray;
case clang::Type::DependentSizedExtVector:
return lldb::eTypeClassVector;
case clang::Type::DependentVector:
return lldb::eTypeClassVector;
case clang::Type::ExtVector:
return lldb::eTypeClassVector;
case clang::Type::Vector:
@ -4900,6 +4902,7 @@ lldb::Encoding ClangASTContext::GetEncoding(lldb::opaque_compiler_type_t type,
case clang::Type::ConstantArray:
break;
case clang::Type::DependentVector:
case clang::Type::ExtVector:
case clang::Type::Vector:
// TODO: Set this to more than one???
@ -5154,6 +5157,7 @@ lldb::Format ClangASTContext::GetFormat(lldb::opaque_compiler_type_t type) {
case clang::Type::ConstantArray:
return lldb::eFormatVoid; // no value
case clang::Type::DependentVector:
case clang::Type::ExtVector:
case clang::Type::Vector:
break;