forked from OSchip/llvm-project
Silence unhandled enums warning in ClangASTContext::GetEncoding
The warning started firing after r333923, which added new builtin types (fixed point types) into clang. This patch merely silences the warning to unblock our integrate, does not aim to support the new types in lldb. llvm-svn: 333999
This commit is contained in:
parent
bd37b57b4d
commit
fc48ac61fa
|
@ -4934,6 +4934,15 @@ lldb::Encoding ClangASTContext::GetEncoding(lldb::opaque_compiler_type_t type,
|
|||
case clang::BuiltinType::UInt128:
|
||||
return lldb::eEncodingUint;
|
||||
|
||||
// Fixed point types. Note that they are currently ignored.
|
||||
case clang::BuiltinType::ShortAccum:
|
||||
case clang::BuiltinType::Accum:
|
||||
case clang::BuiltinType::LongAccum:
|
||||
case clang::BuiltinType::UShortAccum:
|
||||
case clang::BuiltinType::UAccum:
|
||||
case clang::BuiltinType::ULongAccum:
|
||||
break;
|
||||
|
||||
case clang::BuiltinType::Half:
|
||||
case clang::BuiltinType::Float:
|
||||
case clang::BuiltinType::Float16:
|
||||
|
|
Loading…
Reference in New Issue