summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2018-11-08 22:04:58 +0000
committerJorge Gorbe Moya <jgorbe@google.com>2018-11-08 22:04:58 +0000
commita6e6c18ade76ea097b9a1cf11d4aa6b82dc889b1 (patch)
tree1a778ac6e05b1cd1d75a0ff603b328ad56f7d991
parentab296670e1b0da1554f5a859558d00777921232f (diff)
downloadbcm5719-llvm-a6e6c18ade76ea097b9a1cf11d4aa6b82dc889b1.tar.gz
bcm5719-llvm-a6e6c18ade76ea097b9a1cf11d4aa6b82dc889b1.zip
[lldb] Silence unhandled enums warning.
The warning was introduced by r346392, which introduces new builtin types (to support cl_intel_device_side_avc_motion_estimation OpenCL extension). Note that this patch only inserts empty cases to silence the warning and unblock our integrate, does not aim to add support for the new types in lldb. llvm-svn: 346441
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 560a18f6191..149922f9209 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -5113,6 +5113,20 @@ lldb::Encoding ClangASTContext::GetEncoding(lldb::opaque_compiler_type_t type,
case clang::BuiltinType::Kind::PseudoObject:
case clang::BuiltinType::Kind::UnknownAny:
break;
+
+ case clang::BuiltinType::OCLIntelSubgroupAVCMcePayload:
+ case clang::BuiltinType::OCLIntelSubgroupAVCImePayload:
+ case clang::BuiltinType::OCLIntelSubgroupAVCRefPayload:
+ case clang::BuiltinType::OCLIntelSubgroupAVCSicPayload:
+ case clang::BuiltinType::OCLIntelSubgroupAVCMceResult:
+ case clang::BuiltinType::OCLIntelSubgroupAVCImeResult:
+ case clang::BuiltinType::OCLIntelSubgroupAVCRefResult:
+ case clang::BuiltinType::OCLIntelSubgroupAVCSicResult:
+ case clang::BuiltinType::OCLIntelSubgroupAVCImeResultSingleRefStreamout:
+ case clang::BuiltinType::OCLIntelSubgroupAVCImeResultDualRefStreamout:
+ case clang::BuiltinType::OCLIntelSubgroupAVCImeSingleRefStreamin:
+ case clang::BuiltinType::OCLIntelSubgroupAVCImeDualRefStreamin:
+ break;
}
break;
// All pointer types are represented as unsigned integer encodings. We may
OpenPOWER on IntegriCloud