diff options
| author | Fangrui Song <maskray@google.com> | 2018-07-13 22:40:40 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-07-13 22:40:40 +0000 |
| commit | 8f28488594882da47bbf2d9b3a4dc9a63d1c83c3 (patch) | |
| tree | bec7a483ab35f946e1ba0d3fac8f0332bd646d06 | |
| parent | 899692e9818111d54ef16f45f582e4bced92526c (diff) | |
| download | bcm5719-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.cpp | 4 |
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; |

