summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-07-13 22:40:40 +0000
committerFangrui Song <maskray@google.com>2018-07-13 22:40:40 +0000
commit8f28488594882da47bbf2d9b3a4dc9a63d1c83c3 (patch)
treebec7a483ab35f946e1ba0d3fac8f0332bd646d06
parent899692e9818111d54ef16f45f582e4bced92526c (diff)
downloadbcm5719-llvm-8f28488594882da47bbf2d9b3a4dc9a63d1c83c3.tar.gz
bcm5719-llvm-8f28488594882da47bbf2d9b3a4dc9a63d1c83c3.zip
Fix -Wswitch after introduction of clang;:Type::DependentVector in r337036
llvm-svn: 337063
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 337e3966d16..95e7f8a68d4 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -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;
OpenPOWER on IntegriCloud