forked from OSchip/llvm-project
Handle (or at least don't crash) trying to get the encoding for a bunch of new builtin types in clang trunk
llvm-svn: 240606
This commit is contained in:
parent
cde92423d7
commit
5e1be09dab
|
@ -2246,6 +2246,24 @@ ClangASTType::GetEncoding (uint64_t &count) const
|
|||
case clang::BuiltinType::ObjCSel: return lldb::eEncodingUint;
|
||||
|
||||
case clang::BuiltinType::NullPtr: return lldb::eEncodingUint;
|
||||
|
||||
case clang::BuiltinType::Kind::ARCUnbridgedCast:
|
||||
case clang::BuiltinType::Kind::BoundMember:
|
||||
case clang::BuiltinType::Kind::BuiltinFn:
|
||||
case clang::BuiltinType::Kind::Dependent:
|
||||
case clang::BuiltinType::Kind::Half:
|
||||
case clang::BuiltinType::Kind::OCLEvent:
|
||||
case clang::BuiltinType::Kind::OCLImage1d:
|
||||
case clang::BuiltinType::Kind::OCLImage1dArray:
|
||||
case clang::BuiltinType::Kind::OCLImage1dBuffer:
|
||||
case clang::BuiltinType::Kind::OCLImage2d:
|
||||
case clang::BuiltinType::Kind::OCLImage2dArray:
|
||||
case clang::BuiltinType::Kind::OCLImage3d:
|
||||
case clang::BuiltinType::Kind::OCLSampler:
|
||||
case clang::BuiltinType::Kind::Overload:
|
||||
case clang::BuiltinType::Kind::PseudoObject:
|
||||
case clang::BuiltinType::Kind::UnknownAny:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
// All pointer types are represented as unsigned integer encodings.
|
||||
|
|
Loading…
Reference in New Issue