Add remaining fixed-point types and saturated equivalents to fix -Wswitch of r334718
authorFangrui Song <maskray@google.com>
Thu, 14 Jun 2018 18:19:40 +0000 (18:19 +0000)
committerFangrui Song <maskray@google.com>
Thu, 14 Jun 2018 18:19:40 +0000 (18:19 +0000)
llvm-svn: 334745

lldb/source/Symbol/ClangASTContext.cpp

index 61f63b7..d6d5311 100644 (file)
@@ -4941,6 +4941,25 @@ lldb::Encoding ClangASTContext::GetEncoding(lldb::opaque_compiler_type_t type,
     case clang::BuiltinType::UShortAccum:
     case clang::BuiltinType::UAccum:
     case clang::BuiltinType::ULongAccum:
+    case clang::BuiltinType::ShortFract:
+    case clang::BuiltinType::ShortFract:
+    case clang::BuiltinType::Fract:
+    case clang::BuiltinType::LongFract:
+    case clang::BuiltinType::UShortFract:
+    case clang::BuiltinType::UFract:
+    case clang::BuiltinType::ULongFract:
+    case clang::BuiltinType::SatShortAccum:
+    case clang::BuiltinType::SatAccum:
+    case clang::BuiltinType::SatLongAccum:
+    case clang::BuiltinType::SatUShortAccum:
+    case clang::BuiltinType::SatUAccum:
+    case clang::BuiltinType::SatULongAccum:
+    case clang::BuiltinType::SatShortFract:
+    case clang::BuiltinType::SatFract:
+    case clang::BuiltinType::SatLongFract:
+    case clang::BuiltinType::SatUShortFract:
+    case clang::BuiltinType::SatUFract:
+    case clang::BuiltinType::SatULongFract:
       break;
 
     case clang::BuiltinType::Half: